summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/desc.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-09-16 19:27:55 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-17 11:50:01 -0700
commit73a0b538ee573a76cba59cdc9f177a71776d4678 (patch)
tree12c64cbe7e4e27aeb443e6189cc9c3329d74e9e2 /include/asm-x86_64/desc.h
parentf3519f91942f2b43942400348c16d63fe9327f04 (diff)
downloadop-kernel-dev-73a0b538ee573a76cba59cdc9f177a71776d4678.zip
op-kernel-dev-73a0b538ee573a76cba59cdc9f177a71776d4678.tar.gz
[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>
Diffstat (limited to 'include/asm-x86_64/desc.h')
-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>
OpenPOWER on IntegriCloud