summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-09-17 02:27:55 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-17 18:50:01 (GMT)
commit73a0b538ee573a76cba59cdc9f177a71776d4678 (patch)
tree12c64cbe7e4e27aeb443e6189cc9c3329d74e9e2
parentf3519f91942f2b43942400348c16d63fe9327f04 (diff)
downloadlinux-73a0b538ee573a76cba59cdc9f177a71776d4678.tar.xz
[PATCH] x86_64: desc.h-needs smp.h
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>
-rw-r--r--include/asm-x86_64/desc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86_64/desc.h b/include/asm-x86_64/desc.h
index 594e610..68ac3c6 100644
--- a/include/asm-x86_64/desc.h
+++ b/include/asm-x86_64/desc.h
@@ -8,6 +8,8 @@
#ifndef __ASSEMBLY__
#include <linux/string.h>
+#include <linux/smp.h>
+
#include <asm/segment.h>
#include <asm/mmu.h>