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; |
Jesper Nilsson | 7875975 | 2008-01-21 15:15:09 +0100 | [diff] [blame] | 7 | extern cpumask_t cpu_possible_map; |
Mikael Starvik | 8d20a54 | 2005-07-27 11:44:42 -0700 | [diff] [blame] | 8 | |
Jesper Nilsson | 7875975 | 2008-01-21 15:15:09 +0100 | [diff] [blame] | 9 | #define raw_smp_processor_id() (current_thread_info()->cpu) |
Mikael Starvik | 8d20a54 | 2005-07-27 11:44:42 -0700 | [diff] [blame] | 10 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #endif |