blob: dba33aba3e95583e815becee7cfecca797d64b9b [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __ASM_SMP_H
2#define __ASM_SMP_H
3
Mikael Starvik8d20a542005-07-27 11:44:42 -07004#include <linux/cpumask.h>
5
6extern cpumask_t phys_cpu_present_map;
Jesper Nilsson78759752008-01-21 15:15:09 +01007extern cpumask_t cpu_possible_map;
Mikael Starvik8d20a542005-07-27 11:44:42 -07008
Jesper Nilsson78759752008-01-21 15:15:09 +01009#define raw_smp_processor_id() (current_thread_info()->cpu)
Mikael Starvik8d20a542005-07-27 11:44:42 -070010
Linus Torvalds1da177e2005-04-16 15:20:36 -070011#endif