projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36b2a8d
)
[PATCH] x86-64: remove duplicated cpu_mask_to_apicid in x86_64 smp.h
author
Yinghai Lu
<yinghai.lu@amd.com>
Thu, 7 Dec 2006 01:14:01 +0000
(
02:14
+0100)
committer
Andi Kleen
<andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:01 +0000
(
02:14
+0100)
inline function cpu_mask_to_apicid in smp.h is duplicated with macro
in mach_apic.h.
Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Andi Kleen <ak@suse.de>
include/asm-x86_64/smp.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-x86_64/smp.h
b/include/asm-x86_64/smp.h
index d6b7c057edbaf281ddb97963e027e17931a01211..7ae7e7d89d164d0145284bd2ac8813b2ad5835b2 100644
(file)
--- a/
include/asm-x86_64/smp.h
+++ b/
include/asm-x86_64/smp.h
@@
-82,11
+82,6
@@
extern u8 x86_cpu_to_apicid[NR_CPUS]; /* physical ID */
extern u8 x86_cpu_to_log_apicid[NR_CPUS];
extern u8 bios_cpu_apicid[];
-static inline unsigned int cpu_mask_to_apicid(cpumask_t cpumask)
-{
- return cpus_addr(cpumask)[0];
-}
-
static inline int cpu_present_to_apicid(int mps_cpu)
{
if (mps_cpu < NR_CPUS)