summaryrefslogtreecommitdiff
path: root/arch/xtensa/kernel/setup.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-03-10 12:55:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-03-10 15:55:10 -0700
commit5a891ed5adef39aca0b7662c58a2566c7a16237e (patch)
tree481ad376236c6f1efdd172e96ee6178b6f89f0c2 /arch/xtensa/kernel/setup.c
parent8ef1f0291a5d126f678b2f0225843c1ab550559c (diff)
downloadlwn-5a891ed5adef39aca0b7662c58a2566c7a16237e.tar.gz
lwn-5a891ed5adef39aca0b7662c58a2566c7a16237e.zip
xtensa: fix compilation somewhat
* ->put_char changes * HIGHMEM is bogus it seems, there is no kmap_atomic() et al * some includes Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Chris Zankel <zankel@tensilica.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/xtensa/kernel/setup.c')
-rw-r--r--arch/xtensa/kernel/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/setup.c b/arch/xtensa/kernel/setup.c
index 9606d2bd1dd9..4ec1633c2941 100644
--- a/arch/xtensa/kernel/setup.c
+++ b/arch/xtensa/kernel/setup.c
@@ -44,6 +44,8 @@
#include <asm/setup.h>
#include <asm/param.h>
+#include <platform/hardware.h>
+
#if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
struct screen_info screen_info = { 0, 24, 0, 0, 0, 80, 0, 0, 0, 24, 1, 16};
#endif