summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton2005-09-17 04:27:55 +0200
committerLinus Torvalds2005-09-17 20:50:01 +0200
commit73a0b538ee573a76cba59cdc9f177a71776d4678 (patch)
tree12c64cbe7e4e27aeb443e6189cc9c3329d74e9e2
parent[PATCH] fix mm/Kconfig spelling (diff)
downloadkernel-qcow2-linux-73a0b538ee573a76cba59cdc9f177a71776d4678.tar.gz
kernel-qcow2-linux-73a0b538ee573a76cba59cdc9f177a71776d4678.tar.xz
kernel-qcow2-linux-73a0b538ee573a76cba59cdc9f177a71776d4678.zip
[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 594e610f4a1e..68ac3c62fe3d 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>