summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-11-19 22:26:34 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-19 22:26:34 -0800
commit6c782bd7bbc36b01c6b2297e8dd1c0b2404e9047 (patch)
treef8646dcfed9a4ec1218df517965f457251d47988 /include
parent42f61295ef6bb24d451bf8afe9ddc427eb6a0440 (diff)
[PATCH] x86_64: duplicated patch
We ended up adding this patch twice. Cc: <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86_64/smp.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-x86_64/smp.h b/include/asm-x86_64/smp.h
index 947f585b09f4..a0229ff0baa2 100644
--- a/include/asm-x86_64/smp.h
+++ b/include/asm-x86_64/smp.h
@@ -109,11 +109,6 @@ static inline int x86_apicid_to_cpu(u8 apicid)
if (x86_cpu_to_apicid[0] == BAD_APICID)
return 0;
- /* No entries in x86_cpu_to_apicid? Either no MPS|ACPI,
- * or called too early. Either way, we must be CPU 0. */
- if (x86_cpu_to_apicid[0] == BAD_APICID)
- return 0;
-
return -1;
}