Remove unused PROC_CHANGE_PENALTY constant
Subsystems (4)
PATCH 1/1 Remove unused PROC_CHANGE_PENALTY constant
This constant hasn't been used since before the git era (2.6.12) and thus can be dropped.
Cc Russell King <[email protected]>
Cc Richard Weinberger <[email protected]>
Cc Hirokazu Takata <[email protected]>
Cc Kyle McMartin <[email protected]>
Cc Richard Henderson <[email protected]>
Cc Ivan Kokshaysky <[email protected]>
Cc Matt Turner <[email protected]>
Signed-off-by Stephen Boyd <[email protected]>
--- arch/alpha/include/asm/smp.h | 2 -- arch/arm/include/asm/smp.h | 6 ------ arch/m32r/include/asm/smp.h | 2 -- arch/parisc/include/asm/smp.h | 9 --------- arch/um/include/asm/smp.h | 1 - 5 files changed, 0 insertions(+), 20 deletions(-)
arch/alpha/include/asm/smp.h +0 -2
@@ -39,8 +39,6 @@ struct cpuinfo_alpha {extern struct cpuinfo_alpha cpu_data[NR_CPUS ]; -#define PROC_CHANGE_PENALTY 20 -#define hard_smp_processor_id () __hard_smp_processor_id()#define raw_smp_processor_id () (current_thread_info()->cpu)
arch/arm/include/asm/smp.h +0 -6
@@ -22,12 +22,6 @@#define raw_smp_processor_id () (current_thread_info()->cpu) -/* -* at the moment, there's not a big penalty for changing CPUs -* (the >big< penalty is running SMP in the first place) -*/ -#define PROC_CHANGE_PENALTY 15 -struct seq_file ;/*
arch/m32r/include/asm/smp.h +0 -2
@@ -94,8 +94,6 @@ extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);#define NO_PROC_ID (0xff)/* No processor magic marker */ -#define PROC_CHANGE_PENALTY (15)/* Schedule penalty */ -/* * M32R-mp IPI */
arch/parisc/include/asm/smp.h +0 -9
@@ -33,15 +33,6 @@ extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);#endif /* !ASSEMBLY */ -/* -* This magic constant controls our willingness to transfer -* a process across CPUs. Such a transfer incurs cache and tlb -* misses. The current value is inherited from i386. Still needs -* to be tuned for parisc. -*/ - -#define PROC_CHANGE_PENALTY 15/* Schedule penalty */ -#define raw_smp_processor_id () (current_thread_info()->cpu)#else /* CONFIG_SMP */
arch/um/include/asm/smp.h +0 -1
@@ -11,7 +11,6 @@#define cpu_logical_map (n) (n)#define cpu_number_map (n) (n) -#define PROC_CHANGE_PENALTY 15/* Pick a number, any number */ extern int hard_smp_processor_id (void );#define NO_PROC_ID -1
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.