[PATCH] x86_64: desc.h-needs smp.h
authorAndrew Morton <akpm@osdl.org>
Sat, 17 Sep 2005 02:27:55 +0000 (19:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 17 Sep 2005 18:50:01 +0000 (11:50 -0700)
include/asm/desc.h: In function `load_LDT':
include/asm/desc.h:209: warning: implicit declaration of function `get_cpu'
include/asm/desc.h:211: warning: implicit declaration of function `put_cpu'

Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-x86_64/desc.h

index 594e610f4a1e7d66aff1a12aa3666e7af8e9dd0a..68ac3c62fe3defd95145eb2bc80b7c2361c2e1d7 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef __ASSEMBLY__
 
 #include <linux/string.h>
+#include <linux/smp.h>
+
 #include <asm/segment.h>
 #include <asm/mmu.h>