[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>
This commit is contained in:
Andrew Morton 2005-09-16 19:27:55 -07:00 committed by Linus Torvalds
parent f3519f9194
commit 73a0b538ee

View File

@ -8,6 +8,8 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <linux/string.h> #include <linux/string.h>
#include <linux/smp.h>
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/mmu.h> #include <asm/mmu.h>