[PATCH] x86 topology: don;t create a control file for BSP that cannot be removed
authorAshok Raj <ashok.raj@intel.com>
Thu, 23 Mar 2006 10:59:57 +0000 (02:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:07 +0000 (07:38 -0800)
commitbdaff4a331db46f3bd953f413316c4603c4004b4
treea0c379bb38725c912ae674866e5db1b5d7e44d50
parentaeefc956d5d8f8402216a5447bd72ade9eb37eff
[PATCH] x86 topology: don;t create a control file for BSP that cannot be removed

Don't create "online" control file for BSP (i386/x86_64) since its
not removable.

We originally added this to support ppc64 if the kernel has support but
BIOS indicated no offline support, we just didnt create online files for
them.

We used the same method in ia64 as well, if we have a cpu taking platform
interrupts but cannot be removed if those interrupts cannot be re-targeted
to another cpu.

Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/topology.c