]> git.baikalelectronics.ru Git - kernel.git/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)
commit92c9a36efe3253b808cbb90c689d6f4ff5c1a810
tree4bae5d03aabdfa5f3a96a38c885cc943df8bb1b4
parent43d1b97abc43b9351f2be4cfae27a4daed32d1f8
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