From: Adrian Bunk <bunk@stusta.de>
Date: Mon, 7 Nov 2005 08:58:35 +0000 (-0800)
Subject: [PATCH] arch/i386/kernel/ldt.c should #include <asm/mmu_context.h>
X-Git-Tag: firefly_0821_release~40798
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8d1ed6366b9f3cb54eb5aef5dae79b39b8d5ce43;p=firefly-linux-kernel-4.4.55.git

[PATCH] arch/i386/kernel/ldt.c should #include <asm/mmu_context.h>

Every file should #include the header files containing the prototypes of
its global functions

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---

diff --git a/arch/i386/kernel/ldt.c b/arch/i386/kernel/ldt.c
index fe1ffa55587d..983f95707e11 100644
--- a/arch/i386/kernel/ldt.c
+++ b/arch/i386/kernel/ldt.c
@@ -18,6 +18,7 @@
 #include <asm/system.h>
 #include <asm/ldt.h>
 #include <asm/desc.h>
+#include <asm/mmu_context.h>
 
 #ifdef CONFIG_SMP /* avoids "defined but not used" warnig */
 static void flush_ldt(void *null)