Skip to content

Commit

Permalink
CRIS: Update cpu_possible_map and raw_smp_processor_id in smp.h header.
Browse files Browse the repository at this point in the history
- Change name of __smp_processor_id to raw_smp_processor_id.
- cpu_possible_map is no longer a define for phys_cpu_present_map,
  it is now a cpumask_t.
  • Loading branch information
Jesper Nilsson committed Feb 8, 2008
1 parent 9bf7953 commit 7875975
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-cris/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include <linux/cpumask.h>

extern cpumask_t phys_cpu_present_map;
#define cpu_possible_map phys_cpu_present_map
extern cpumask_t cpu_possible_map;

#define __smp_processor_id() (current_thread_info()->cpu)
#define raw_smp_processor_id() (current_thread_info()->cpu)

#endif

0 comments on commit 7875975

Please sign in to comment.