Explorar o código

[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 <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Andi Kleen %!s(int64=19) %!d(string=hai) anos
pai
achega
3c02175113
Modificáronse 2 ficheiros con 1 adicións e 2 borrados
  1. 0 2
      include/asm-x86_64/proto.h
  2. 1 0
      include/asm-x86_64/smp.h

+ 0 - 2
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);
 

+ 1 - 0
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