X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fsmp.h;fp=include%2Fasm-powerpc%2Fsmp.h;h=98581e5a827957712599d215aa8ba7077e494187;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=068f119aa298fd7fb8d5f35f4e8ab8a2b3b34a0a;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/asm-powerpc/smp.h b/include/asm-powerpc/smp.h index 068f119aa..98581e5a8 100644 --- a/include/asm-powerpc/smp.h +++ b/include/asm-powerpc/smp.h @@ -17,6 +17,7 @@ #define _ASM_POWERPC_SMP_H #ifdef __KERNEL__ +#include #include #include #include @@ -28,6 +29,7 @@ #endif extern int boot_cpuid; +extern int boot_cpuid_phys; extern void cpu_die(void); @@ -97,7 +99,6 @@ extern void smp_release_cpus(void); #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