diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-26 20:27:11 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-26 20:27:11 -0800 |
commit | 13f939b5d34fc912f03dccc96f7bcc7dc84e9c43 (patch) | |
tree | 7332ffbda0866ef391af4353c7a52643d1ff2f81 /include/asm-sparc64/smp.h | |
parent | add2b6fdae9d7fc251c229e76252f731917094c4 (diff) | |
parent | 7abea9214585823f7f19d91872d7c6f8874bef9a (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Diffstat (limited to 'include/asm-sparc64/smp.h')
-rw-r--r-- | include/asm-sparc64/smp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-sparc64/smp.h b/include/asm-sparc64/smp.h index 110a2de89123..473edb2603ec 100644 --- a/include/asm-sparc64/smp.h +++ b/include/asm-sparc64/smp.h @@ -66,8 +66,14 @@ static __inline__ int hard_smp_processor_id(void) #define raw_smp_processor_id() (current_thread_info()->cpu) +extern void smp_setup_cpu_possible_map(void); + #endif /* !(__ASSEMBLY__) */ +#else + +#define smp_setup_cpu_possible_map() do { } while (0) + #endif /* !(CONFIG_SMP) */ #define NO_PROC_ID 0xFF |