summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-06-13 20:20:54 +0200
committerDavid S. Miller <davem@davemloft.net>2008-07-17 21:42:23 -0700
commitb1a8bf92a0303301f3e013e2a2f45a4916453ce7 (patch)
tree3e0c5a4dbfbe96dc5881e2bafffcd4e760a8f23c /arch/sparc/kernel
parentb444b9a5a1171ef07e1a87b01f7bb5bd0206d012 (diff)
downloadlinux-b1a8bf92a0303301f3e013e2a2f45a4916453ce7.tar.bz2
sparc: export openprom.h to userspace
sparc64 exports openprom.h to userspace so let sparc follow the example. As openprom.h pulled in another not-for-export vaddrs.h header file it required a few changes to fix the build. The definition af VMALLOC_* were moved to pgtable as this is where sparc64 has them. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r--arch/sparc/kernel/entry.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/entry.S b/arch/sparc/kernel/entry.S
index 55d3be1b5d81..2f96256dc515 100644
--- a/arch/sparc/kernel/entry.S
+++ b/arch/sparc/kernel/entry.S
@@ -19,6 +19,7 @@
#include <asm/vaddrs.h>
#include <asm/memreg.h>
#include <asm/page.h>
+#include <asm/pgtable.h>
#ifdef CONFIG_SUN4
#include <asm/pgtsun4.h>
#else