From: Andi Kleen Date: Wed, 11 Jan 2006 21:45:12 +0000 (+0100) Subject: [PATCH] x86_64: Fix compile error with !CONFIG_COMPAT X-Git-Tag: v2.6.16-rc1~324 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c0217511313a46039137d2dab30fdb1c5a65e64;p=linux-2.6 [PATCH] x86_64: Fix compile error with !CONFIG_COMPAT cpumask.h wasn't included implicitely into proto.h in this case. Just move it over to smp.h Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/include/asm-x86_64/proto.h b/include/asm-x86_64/proto.h index 113e8a235b..56dc70b7a6 100644 --- a/include/asm-x86_64/proto.h +++ b/include/asm-x86_64/proto.h @@ -67,8 +67,6 @@ extern void load_gs_index(unsigned gs); extern unsigned long end_pfn_map; -extern cpumask_t cpu_initialized; - extern void show_trace(unsigned long * rsp); extern void show_registers(struct pt_regs *regs); diff --git a/include/asm-x86_64/smp.h b/include/asm-x86_64/smp.h index d030409a8f..9ccbb2cfd5 100644 --- a/include/asm-x86_64/smp.h +++ b/include/asm-x86_64/smp.h @@ -35,6 +35,7 @@ extern cpumask_t cpu_present_mask; extern cpumask_t cpu_possible_map; extern cpumask_t cpu_online_map; extern cpumask_t cpu_callout_map; +extern cpumask_t cpu_initialized; /* * Private routines/data