Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASM_SMP_H |
2 | #define __ASM_SMP_H | ||||
3 | |||||
Mikael Starvik | 8d20a54 | 2005-07-27 11:44:42 -0700 | [diff] [blame] | 4 | #include <linux/cpumask.h> |
5 | |||||
6 | extern cpumask_t phys_cpu_present_map; | ||||
7 | #define cpu_possible_map phys_cpu_present_map | ||||
8 | |||||
9 | #define __smp_processor_id() (current_thread_info()->cpu) | ||||
10 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #endif |