diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-08-17 19:13:17 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-23 01:55:19 -0400 |
commit | 8ede0bdb63305d3353efd97e9af6210afb05734e (patch) | |
tree | a9500a323d0a2dcadca43c23b5c20186f6d9b724 /include/asm-um/smp.h | |
parent | 8569c9140bd41089f9b6be8837ca421102714a90 (diff) |
x86, um: initial part of asm-um move
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/asm-um/smp.h')
-rw-r--r-- | include/asm-um/smp.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/include/asm-um/smp.h b/include/asm-um/smp.h deleted file mode 100644 index f27a96313174..000000000000 --- a/include/asm-um/smp.h +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | #ifndef __UM_SMP_H | ||
2 | #define __UM_SMP_H | ||
3 | |||
4 | #ifdef CONFIG_SMP | ||
5 | |||
6 | #include "linux/bitops.h" | ||
7 | #include "asm/current.h" | ||
8 | #include "linux/cpumask.h" | ||
9 | |||
10 | #define raw_smp_processor_id() (current_thread->cpu) | ||
11 | |||
12 | #define cpu_logical_map(n) (n) | ||
13 | #define cpu_number_map(n) (n) | ||
14 | #define PROC_CHANGE_PENALTY 15 /* Pick a number, any number */ | ||
15 | extern int hard_smp_processor_id(void); | ||
16 | #define NO_PROC_ID -1 | ||
17 | |||
18 | extern int ncpus; | ||
19 | |||
20 | |||
21 | static inline void smp_cpus_done(unsigned int maxcpus) | ||
22 | { | ||
23 | } | ||
24 | |||
25 | extern struct task_struct *idle_threads[NR_CPUS]; | ||
26 | |||
27 | #else | ||
28 | |||
29 | #define hard_smp_processor_id() 0 | ||
30 | |||
31 | #endif | ||
32 | |||
33 | #endif | ||