]> err.no Git - linux-2.6/commit
i386: no need to make enable_cpu_hotplug a variable
authorAdrian Bunk <bunk@stusta.de>
Wed, 17 Oct 2007 16:04:38 +0000 (18:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Wed, 17 Oct 2007 18:16:16 +0000 (20:16 +0200)
commita850cef77f148c2e305022a1ed86ca6cff5ee300
tree4bae5d03aabdfa5f3a96a38c885cc943df8bb1b4
parentfb7ae26df0b1218b39049b659064d57b58616c94
i386: no need to make enable_cpu_hotplug a variable

As long as there's no write access to this variable there's no reason to
let gcc check it at runtime.

[ tglx: arch/x86 adaptation ]

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/topology.c
include/asm-x86/cpu.h