2005-04-17 06:20:36 +08:00
|
|
|
#ifndef __ASM_SMP_H
|
|
|
|
#define __ASM_SMP_H
|
|
|
|
|
2005-07-28 02:44:42 +08:00
|
|
|
#include <linux/cpumask.h>
|
|
|
|
|
|
|
|
extern cpumask_t phys_cpu_present_map;
|
2008-01-21 22:15:09 +08:00
|
|
|
extern cpumask_t cpu_possible_map;
|
2005-07-28 02:44:42 +08:00
|
|
|
|
2008-01-21 22:15:09 +08:00
|
|
|
#define raw_smp_processor_id() (current_thread_info()->cpu)
|
2005-07-28 02:44:42 +08:00
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif
|