[PATCH] i386: Clean up smp_tune_scheduling()
authorAdrian Bunk <bunk@stusta.de>
Thu, 7 Dec 2006 01:14:19 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:19 +0000 (02:14 +0100)
commitd9408cefe677636bc1c100fdcfac0b2ab9ff87bf
tree5f042bdcea216867e93d38d12decfd66e4612a2d
parentb65780e123ba9b762276482bbfb52836e4d41fd9
[PATCH] i386: Clean up smp_tune_scheduling()

- remove the write-only local variable "bandwidth"
- don't set "max_cache_size" in the (cachesize < 0) case:
  that's already handled in kernel/sched.c:measure_migration_cost()

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
arch/i386/kernel/smpboot.c