aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/pgtable_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/pgtable_32.h')
-rw-r--r--arch/sparc/include/asm/pgtable_32.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/sparc/include/asm/pgtable_32.h b/arch/sparc/include/asm/pgtable_32.h
index 0ece77f47753..5b31a8e89823 100644
--- a/arch/sparc/include/asm/pgtable_32.h
+++ b/arch/sparc/include/asm/pgtable_32.h
@@ -8,6 +8,8 @@
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#include <linux/const.h>
12
11#ifndef __ASSEMBLY__ 13#ifndef __ASSEMBLY__
12#include <asm-generic/4level-fixup.h> 14#include <asm-generic/4level-fixup.h>
13 15
@@ -304,10 +306,7 @@ BTFIXUPDEF_CALL(pte_t *, pte_offset_kernel, pmd_t *, unsigned long)
304 * and sun4c is guaranteed to have no highmem anyway. 306 * and sun4c is guaranteed to have no highmem anyway.
305 */ 307 */
306#define pte_offset_map(d, a) pte_offset_kernel(d,a) 308#define pte_offset_map(d, a) pte_offset_kernel(d,a)
307#define pte_offset_map_nested(d, a) pte_offset_kernel(d,a)
308
309#define pte_unmap(pte) do{}while(0) 309#define pte_unmap(pte) do{}while(0)
310#define pte_unmap_nested(pte) do{}while(0)
311 310
312/* Certain architectures need to do special things when pte's 311/* Certain architectures need to do special things when pte's
313 * within a page table are directly modified. Thus, the following 312 * within a page table are directly modified. Thus, the following
@@ -459,9 +458,9 @@ extern int io_remap_pfn_range(struct vm_area_struct *vma,
459 458
460#endif /* !(__ASSEMBLY__) */ 459#endif /* !(__ASSEMBLY__) */
461 460
462#define VMALLOC_START 0xfe600000 461#define VMALLOC_START _AC(0xfe600000,UL)
463/* XXX Alter this when I get around to fixing sun4c - Anton */ 462/* XXX Alter this when I get around to fixing sun4c - Anton */
464#define VMALLOC_END 0xffc00000 463#define VMALLOC_END _AC(0xffc00000,UL)
465 464
466 465
467/* We provide our own get_unmapped_area to cope with VA holes for userland */ 466/* We provide our own get_unmapped_area to cope with VA holes for userland */