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.

Signed-off-by: Stephen Boyd <[email protected]>
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: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Stephen Boyd 2011-05-24 17:13:08 -07:00 • committed by Linus Torvalds
commit 818b667ba5
5 changed files with 0 additions and 20 deletions

View file

@ -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 */