git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-m32r
/
smp.h
diff --git
a/include/asm-m32r/smp.h
b/include/asm-m32r/smp.h
index
8cd4d0d
..
650d255
100644
(file)
--- a/
include/asm-m32r/smp.h
+++ b/
include/asm-m32r/smp.h
@@
-3,7
+3,6
@@
/* $Id$ */
/* $Id$ */
-#include <linux/config.h>
#ifdef CONFIG_SMP
#ifndef __ASSEMBLY__
#ifdef CONFIG_SMP
#ifndef __ASSEMBLY__
@@
-61,15
+60,14
@@
extern physid_mask_t phys_cpu_present_map;
* Some lowlevel functions might want to know about
* the real CPU ID <-> CPU # mapping.
*/
* Some lowlevel functions might want to know about
* the real CPU ID <-> CPU # mapping.
*/
-extern volatile int physid_2_cpu[NR_CPUS];
extern volatile int cpu_2_physid[NR_CPUS];
extern volatile int cpu_2_physid[NR_CPUS];
-#define physid_to_cpu(physid) physid_2_cpu[physid]
#define cpu_to_physid(cpu_id) cpu_2_physid[cpu_id]
#define cpu_to_physid(cpu_id) cpu_2_physid[cpu_id]
-#define
smp_processor_id()
(current_thread_info()->cpu)
+#define
raw_smp_processor_id()
(current_thread_info()->cpu)
extern cpumask_t cpu_callout_map;
extern cpumask_t cpu_callout_map;
-#define cpu_possible_map cpu_callout_map
+extern cpumask_t cpu_possible_map;
+extern cpumask_t cpu_present_map;
static __inline__ int hard_smp_processor_id(void)
{
static __inline__ int hard_smp_processor_id(void)
{