From 6e0a50212d4f8de82b99398a186b75adff589f75 Mon Sep 17 00:00:00 2001 From: Mike Travis Date: Mon, 12 May 2008 21:21:13 +0200 Subject: [PATCH] --- yaml --- r: 99789 b: refs/heads/master c: 5deb0b2a25b7b568ab81f7c38052572ecf4ccc96 h: refs/heads/master i: 99787: 093d762e42482d6da140d0d1b4899fb60a5c8001 v: v3 --- [refs] | 2 +- trunk/arch/x86/kernel/head64.c | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/[refs] b/[refs] index 0e6bf0ca7967..202775906455 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3461b0af025251bbc6b3d56c821c6ac2de6f7209 +refs/heads/master: 5deb0b2a25b7b568ab81f7c38052572ecf4ccc96 diff --git a/trunk/arch/x86/kernel/head64.c b/trunk/arch/x86/kernel/head64.c index 0ab59edd7067..4bcb61cd9fcd 100644 --- a/trunk/arch/x86/kernel/head64.c +++ b/trunk/arch/x86/kernel/head64.c @@ -29,17 +29,13 @@ static struct x8664_pda _boot_cpu_pda __read_mostly; #ifdef CONFIG_SMP -#ifdef CONFIG_DEBUG_PER_CPU_MAPS /* - * We install an empty cpu_pda pointer table to trap references before - * the actual cpu_pda pointer table is created in setup_cpu_pda_map(). + * We install an empty cpu_pda pointer table to indicate to early users + * (numa_set_node) that the cpu_pda pointer table for cpus other than + * the boot cpu is not yet setup. */ static struct x8664_pda *__cpu_pda[NR_CPUS] __initdata; #else -static struct x8664_pda *__cpu_pda[1] __read_mostly; -#endif - -#else /* !CONFIG_SMP (NR_CPUS will be 1) */ static struct x8664_pda *__cpu_pda[NR_CPUS] __read_mostly; #endif