diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 19:48:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 19:48:59 -0400 |
commit | ce4b61f5e2fab568f90adf79642cbfc49aac5bba (patch) | |
tree | 51155f2bacade594b1cb6731f334263a91e1fc68 /arch | |
parent | e95206ab2c8cd6ea11318a5fe96b4ace534be750 (diff) | |
parent | 4d1efed540df1ccd3077df6f2bffba9d506b7d7b (diff) |
Merge branch 'release' of ssh://master.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of ssh://master.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] Fix build for CONFIG_SMP=n
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/kernel/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index 777c8d8bd5e7..c5cfcfa4c87c 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c | |||
@@ -869,6 +869,7 @@ cpu_init (void) | |||
869 | void *cpu_data; | 869 | void *cpu_data; |
870 | 870 | ||
871 | cpu_data = per_cpu_init(); | 871 | cpu_data = per_cpu_init(); |
872 | #ifdef CONFIG_SMP | ||
872 | /* | 873 | /* |
873 | * insert boot cpu into sibling and core mapes | 874 | * insert boot cpu into sibling and core mapes |
874 | * (must be done after per_cpu area is setup) | 875 | * (must be done after per_cpu area is setup) |
@@ -877,6 +878,7 @@ cpu_init (void) | |||
877 | cpu_set(0, per_cpu(cpu_sibling_map, 0)); | 878 | cpu_set(0, per_cpu(cpu_sibling_map, 0)); |
878 | cpu_set(0, cpu_core_map[0]); | 879 | cpu_set(0, cpu_core_map[0]); |
879 | } | 880 | } |
881 | #endif | ||
880 | 882 | ||
881 | /* | 883 | /* |
882 | * We set ar.k3 so that assembly code in MCA handler can compute | 884 | * We set ar.k3 so that assembly code in MCA handler can compute |