diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-06-22 22:11:56 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-06-22 22:11:56 -0400 |
commit | 71d530cd1b6d97094481002a04c77fea1c8e1c22 (patch) | |
tree | e786da7145d83c19a594adf76ed90d52c51058b1 /include/asm-sparc/smp.h | |
parent | d7a80dad2fe19a2b8c119c8e9cba605474a75a2b (diff) | |
parent | d588fcbe5a7ba8bba2cebf7799ab2d573717a806 (diff) |
Merge branch 'master' into upstream
Conflicts:
drivers/scsi/libata-core.c
drivers/scsi/libata-scsi.c
include/linux/pci_ids.h
Diffstat (limited to 'include/asm-sparc/smp.h')
-rw-r--r-- | include/asm-sparc/smp.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/asm-sparc/smp.h b/include/asm-sparc/smp.h index 98c46e3fbe8a..b9da9a600e35 100644 --- a/include/asm-sparc/smp.h +++ b/include/asm-sparc/smp.h | |||
@@ -6,7 +6,6 @@ | |||
6 | #ifndef _SPARC_SMP_H | 6 | #ifndef _SPARC_SMP_H |
7 | #define _SPARC_SMP_H | 7 | #define _SPARC_SMP_H |
8 | 8 | ||
9 | #include <linux/config.h> | ||
10 | #include <linux/threads.h> | 9 | #include <linux/threads.h> |
11 | #include <asm/head.h> | 10 | #include <asm/head.h> |
12 | #include <asm/btfixup.h> | 11 | #include <asm/btfixup.h> |
@@ -146,6 +145,8 @@ static inline int hard_smp_processor_id(void) | |||
146 | #define prof_multiplier(__cpu) cpu_data(__cpu).multiplier | 145 | #define prof_multiplier(__cpu) cpu_data(__cpu).multiplier |
147 | #define prof_counter(__cpu) cpu_data(__cpu).counter | 146 | #define prof_counter(__cpu) cpu_data(__cpu).counter |
148 | 147 | ||
148 | void smp_setup_cpu_possible_map(void); | ||
149 | |||
149 | #endif /* !(__ASSEMBLY__) */ | 150 | #endif /* !(__ASSEMBLY__) */ |
150 | 151 | ||
151 | /* Sparc specific messages. */ | 152 | /* Sparc specific messages. */ |
@@ -162,7 +163,11 @@ static inline int hard_smp_processor_id(void) | |||
162 | #define MBOX_IDLECPU2 0xFD | 163 | #define MBOX_IDLECPU2 0xFD |
163 | #define MBOX_STOPCPU2 0xFE | 164 | #define MBOX_STOPCPU2 0xFE |
164 | 165 | ||
165 | #endif /* SMP */ | 166 | #else /* SMP */ |
167 | |||
168 | #define smp_setup_cpu_possible_map() do { } while (0) | ||
169 | |||
170 | #endif /* !(SMP) */ | ||
166 | 171 | ||
167 | #define NO_PROC_ID 0xFF | 172 | #define NO_PROC_ID 0xFF |
168 | 173 | ||