Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4d1efed540df1ccd3077df6f2bffba9d506b7d7b
Commit:     4d1efed540df1ccd3077df6f2bffba9d506b7d7b
Parent:     821f3eff7cdb9d6c7076effabd46c96c322daed1
Author:     Tony Luck <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 13:17:22 2007 -0700
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 13:17:22 2007 -0700

    [IA64] Fix build for CONFIG_SMP=n
    
    d5a7430ddcdb598261d70f7eb1bf450b5be52085 missed a spot where we
    use cpu_sibling_map and cpu_core_map.  These don't exist on a
    uni-processor build.  Wrap #ifdef CONFIG_SMP ... #endif around it.
    
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 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 777c8d8..c5cfcfa 100644
--- a/arch/ia64/kernel/setup.c
+++ b/arch/ia64/kernel/setup.c
@@ -869,6 +869,7 @@ cpu_init (void)
        void *cpu_data;
 
        cpu_data = per_cpu_init();
+#ifdef CONFIG_SMP
        /*
         * insert boot cpu into sibling and core mapes
         * (must be done after per_cpu area is setup)
@@ -877,6 +878,7 @@ cpu_init (void)
                cpu_set(0, per_cpu(cpu_sibling_map, 0));
                cpu_set(0, cpu_core_map[0]);
        }
+#endif
 
        /*
         * We set ar.k3 so that assembly code in MCA handler can compute
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to