summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/pgtable.h
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 /include/asm-sparc/pgtable.h
parentb444b9a5a1171ef07e1a87b01f7bb5bd0206d012 (diff)
downloadop-kernel-dev-b1a8bf92a0303301f3e013e2a2f45a4916453ce7.zip
op-kernel-dev-b1a8bf92a0303301f3e013e2a2f45a4916453ce7.tar.gz
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 'include/asm-sparc/pgtable.h')
-rw-r--r--include/asm-sparc/pgtable.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-sparc/pgtable.h b/include/asm-sparc/pgtable.h
index 6051229..b63ac6b 100644
--- a/include/asm-sparc/pgtable.h
+++ b/include/asm-sparc/pgtable.h
@@ -8,6 +8,7 @@
* Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
*/
+#ifndef __ASSEMBLY__
#include <asm-generic/4level-fixup.h>
#include <linux/spinlock.h>
@@ -24,7 +25,6 @@
#include <asm/btfixup.h>
#include <asm/system.h>
-#ifndef __ASSEMBLY__
struct vm_area_struct;
struct page;
@@ -464,6 +464,11 @@ extern int io_remap_pfn_range(struct vm_area_struct *vma,
#endif /* !(__ASSEMBLY__) */
+#define VMALLOC_START 0xfe600000
+/* XXX Alter this when I get around to fixing sun4c - Anton */
+#define VMALLOC_END 0xffc00000
+
+
/* We provide our own get_unmapped_area to cope with VA holes for userland */
#define HAVE_ARCH_UNMAPPED_AREA
OpenPOWER on IntegriCloud