From 3c0217511313a46039137d2dab30fdb1c5a65e64 Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Wed, 11 Jan 2006 22:45:12 +0100 Subject: [PATCH] [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 --- include/asm-x86_64/proto.h | 2 -- include/asm-x86_64/smp.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/asm-x86_64/proto.h b/include/asm-x86_64/proto.h index 113e8a2..56dc70b 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 d030409..9ccbb2c 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 -- 2.7.4