aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/pgtable.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-06-13 14:20:54 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-18 00:42:23 -0400
commitb1a8bf92a0303301f3e013e2a2f45a4916453ce7 (patch)
tree3e0c5a4dbfbe96dc5881e2bafffcd4e760a8f23c /include/asm-sparc/pgtable.h
parentb444b9a5a1171ef07e1a87b01f7bb5bd0206d012 (diff)
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 60512296b2ca..b63ac6b4119f 100644
--- a/include/asm-sparc/pgtable.h
+++ b/include/asm-sparc/pgtable.h
@@ -8,6 +8,7 @@
8 * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz) 8 * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
9 */ 9 */
10 10
11#ifndef __ASSEMBLY__
11#include <asm-generic/4level-fixup.h> 12#include <asm-generic/4level-fixup.h>
12 13
13#include <linux/spinlock.h> 14#include <linux/spinlock.h>
@@ -24,7 +25,6 @@
24#include <asm/btfixup.h> 25#include <asm/btfixup.h>
25#include <asm/system.h> 26#include <asm/system.h>
26 27
27#ifndef __ASSEMBLY__
28 28
29struct vm_area_struct; 29struct vm_area_struct;
30struct page; 30struct page;
@@ -464,6 +464,11 @@ extern int io_remap_pfn_range(struct vm_area_struct *vma,
464 464
465#endif /* !(__ASSEMBLY__) */ 465#endif /* !(__ASSEMBLY__) */
466 466
467#define VMALLOC_START 0xfe600000
468/* XXX Alter this when I get around to fixing sun4c - Anton */
469#define VMALLOC_END 0xffc00000
470
471
467/* We provide our own get_unmapped_area to cope with VA holes for userland */ 472/* We provide our own get_unmapped_area to cope with VA holes for userland */
468#define HAVE_ARCH_UNMAPPED_AREA 473#define HAVE_ARCH_UNMAPPED_AREA
469 474