git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
include
/
asm-powerpc
/
smp.h
diff --git
a/include/asm-powerpc/smp.h
b/include/asm-powerpc/smp.h
index
068f119
..
98581e5
100644
(file)
--- a/
include/asm-powerpc/smp.h
+++ b/
include/asm-powerpc/smp.h
@@
-17,6
+17,7
@@
#define _ASM_POWERPC_SMP_H
#ifdef __KERNEL__
#define _ASM_POWERPC_SMP_H
#ifdef __KERNEL__
+#include <linux/config.h>
#include <linux/threads.h>
#include <linux/cpumask.h>
#include <linux/kernel.h>
#include <linux/threads.h>
#include <linux/cpumask.h>
#include <linux/kernel.h>
@@
-28,6
+29,7
@@
#endif
extern int boot_cpuid;
#endif
extern int boot_cpuid;
+extern int boot_cpuid_phys;
extern void cpu_die(void);
extern void cpu_die(void);
@@
-97,7
+99,6
@@
extern void smp_release_cpus(void);
#else
/* 32-bit */
#ifndef CONFIG_SMP
#else
/* 32-bit */
#ifndef CONFIG_SMP
-extern int boot_cpuid_phys;
#define get_hard_smp_processor_id(cpu) boot_cpuid_phys
#define set_hard_smp_processor_id(cpu, phys)
#endif
#define get_hard_smp_processor_id(cpu) boot_cpuid_phys
#define set_hard_smp_processor_id(cpu, phys)
#endif