diff options
-rw-r--r-- | arch/alpha/include/asm/smp.h | 2 | ||||
-rw-r--r-- | arch/arm/include/asm/smp.h | 6 | ||||
-rw-r--r-- | arch/m32r/include/asm/smp.h | 2 | ||||
-rw-r--r-- | arch/parisc/include/asm/smp.h | 9 | ||||
-rw-r--r-- | arch/um/include/asm/smp.h | 1 |
5 files changed, 0 insertions, 20 deletions
diff --git a/arch/alpha/include/asm/smp.h b/arch/alpha/include/asm/smp.h index 3f390e8cc0b3..c46e714aa3e0 100644 --- a/arch/alpha/include/asm/smp.h +++ b/arch/alpha/include/asm/smp.h | |||
@@ -39,8 +39,6 @@ struct cpuinfo_alpha { | |||
39 | 39 | ||
40 | extern struct cpuinfo_alpha cpu_data[NR_CPUS]; | 40 | extern struct cpuinfo_alpha cpu_data[NR_CPUS]; |
41 | 41 | ||
42 | #define PROC_CHANGE_PENALTY 20 | ||
43 | |||
44 | #define hard_smp_processor_id() __hard_smp_processor_id() | 42 | #define hard_smp_processor_id() __hard_smp_processor_id() |
45 | #define raw_smp_processor_id() (current_thread_info()->cpu) | 43 | #define raw_smp_processor_id() (current_thread_info()->cpu) |
46 | 44 | ||
diff --git a/arch/arm/include/asm/smp.h b/arch/arm/include/asm/smp.h index a87664f54f93..d2b514fd76f4 100644 --- a/arch/arm/include/asm/smp.h +++ b/arch/arm/include/asm/smp.h | |||
@@ -20,12 +20,6 @@ | |||
20 | 20 | ||
21 | #define raw_smp_processor_id() (current_thread_info()->cpu) | 21 | #define raw_smp_processor_id() (current_thread_info()->cpu) |
22 | 22 | ||
23 | /* | ||
24 | * at the moment, there's not a big penalty for changing CPUs | ||
25 | * (the >big< penalty is running SMP in the first place) | ||
26 | */ | ||
27 | #define PROC_CHANGE_PENALTY 15 | ||
28 | |||
29 | struct seq_file; | 23 | struct seq_file; |
30 | 24 | ||
31 | /* | 25 | /* |
diff --git a/arch/m32r/include/asm/smp.h b/arch/m32r/include/asm/smp.h index e67ded1aab91..8accc1bb0263 100644 --- a/arch/m32r/include/asm/smp.h +++ b/arch/m32r/include/asm/smp.h | |||
@@ -94,8 +94,6 @@ extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); | |||
94 | 94 | ||
95 | #define NO_PROC_ID (0xff) /* No processor magic marker */ | 95 | #define NO_PROC_ID (0xff) /* No processor magic marker */ |
96 | 96 | ||
97 | #define PROC_CHANGE_PENALTY (15) /* Schedule penalty */ | ||
98 | |||
99 | /* | 97 | /* |
100 | * M32R-mp IPI | 98 | * M32R-mp IPI |
101 | */ | 99 | */ |
diff --git a/arch/parisc/include/asm/smp.h b/arch/parisc/include/asm/smp.h index 2e73623feb6b..e8f8037d872b 100644 --- a/arch/parisc/include/asm/smp.h +++ b/arch/parisc/include/asm/smp.h | |||
@@ -33,15 +33,6 @@ extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); | |||
33 | 33 | ||
34 | #endif /* !ASSEMBLY */ | 34 | #endif /* !ASSEMBLY */ |
35 | 35 | ||
36 | /* | ||
37 | * This magic constant controls our willingness to transfer | ||
38 | * a process across CPUs. Such a transfer incurs cache and tlb | ||
39 | * misses. The current value is inherited from i386. Still needs | ||
40 | * to be tuned for parisc. | ||
41 | */ | ||
42 | |||
43 | #define PROC_CHANGE_PENALTY 15 /* Schedule penalty */ | ||
44 | |||
45 | #define raw_smp_processor_id() (current_thread_info()->cpu) | 36 | #define raw_smp_processor_id() (current_thread_info()->cpu) |
46 | 37 | ||
47 | #else /* CONFIG_SMP */ | 38 | #else /* CONFIG_SMP */ |
diff --git a/arch/um/include/asm/smp.h b/arch/um/include/asm/smp.h index f27a96313174..4a4b09d4f366 100644 --- a/arch/um/include/asm/smp.h +++ b/arch/um/include/asm/smp.h | |||
@@ -11,7 +11,6 @@ | |||
11 | 11 | ||
12 | #define cpu_logical_map(n) (n) | 12 | #define cpu_logical_map(n) (n) |
13 | #define cpu_number_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); | 14 | extern int hard_smp_processor_id(void); |
16 | #define NO_PROC_ID -1 | 15 | #define NO_PROC_ID -1 |
17 | 16 | ||