diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-06-13 20:20:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-18 06:42:23 +0200 |
commit | b1a8bf92a0303301f3e013e2a2f45a4916453ce7 (patch) | |
tree | 3e0c5a4dbfbe96dc5881e2bafffcd4e760a8f23c /include/asm-sparc/pgtable.h | |
parent | sparc: Merge asm-sparc{,64}/types.h (diff) | |
download | linux-b1a8bf92a0303301f3e013e2a2f45a4916453ce7.tar.xz linux-b1a8bf92a0303301f3e013e2a2f45a4916453ce7.zip |
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.h | 7 |
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 @@ * 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 |