aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/pgtable_32.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-12 03:35:45 -0400
committerDavid S. Miller <davem@davemloft.net>2012-05-12 03:35:45 -0400
commitee906c9e0bc9d3cc7fdfe82fb30f3c3c1318c3ef (patch)
treea33dd677564dd883b9a8c5d20f7b07c395f51ef1 /arch/sparc/include/asm/pgtable_32.h
parent6e54e9503ea84f2c3571cda7146fb42184f0d7e6 (diff)
sparc32: Trivial removal of sun4c references in comments.
I left some around, like the ones in the openprom headers, since we need to think about which pieces of those datastructures and code we can completely toss now. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/pgtable_32.h')
-rw-r--r--arch/sparc/include/asm/pgtable_32.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/sparc/include/asm/pgtable_32.h b/arch/sparc/include/asm/pgtable_32.h
index 9f3ab0ab8e82..9de855c0920d 100644
--- a/arch/sparc/include/asm/pgtable_32.h
+++ b/arch/sparc/include/asm/pgtable_32.h
@@ -304,8 +304,7 @@ BTFIXUPDEF_CALL(pte_t *, pte_offset_kernel, pmd_t *, unsigned long)
304#define pte_offset_kernel(dir,addr) BTFIXUP_CALL(pte_offset_kernel)(dir,addr) 304#define pte_offset_kernel(dir,addr) BTFIXUP_CALL(pte_offset_kernel)(dir,addr)
305 305
306/* 306/*
307 * This shortcut works on sun4m (and sun4d) because the nocache area is static, 307 * This shortcut works on sun4m (and sun4d) because the nocache area is static.
308 * and sun4c is guaranteed to have no highmem anyway.
309 */ 308 */
310#define pte_offset_map(d, a) pte_offset_kernel(d,a) 309#define pte_offset_map(d, a) pte_offset_kernel(d,a)
311#define pte_unmap(pte) do{}while(0) 310#define pte_unmap(pte) do{}while(0)
@@ -367,7 +366,6 @@ static inline pte_t pgoff_to_pte(unsigned long pgoff)
367 366
368/* 367/*
369 * This is made a constant because mm/fremap.c required a constant. 368 * This is made a constant because mm/fremap.c required a constant.
370 * Note that layout of these bits is different between sun4c.c and srmmu.c.
371 */ 369 */
372#define PTE_FILE_MAX_BITS 24 370#define PTE_FILE_MAX_BITS 24
373 371
@@ -471,10 +469,8 @@ static inline int io_remap_pfn_range(struct vm_area_struct *vma,
471#endif /* !(__ASSEMBLY__) */ 469#endif /* !(__ASSEMBLY__) */
472 470
473#define VMALLOC_START _AC(0xfe600000,UL) 471#define VMALLOC_START _AC(0xfe600000,UL)
474/* XXX Alter this when I get around to fixing sun4c - Anton */
475#define VMALLOC_END _AC(0xffc00000,UL) 472#define VMALLOC_END _AC(0xffc00000,UL)
476 473
477
478/* We provide our own get_unmapped_area to cope with VA holes for userland */ 474/* We provide our own get_unmapped_area to cope with VA holes for userland */
479#define HAVE_ARCH_UNMAPPED_AREA 475#define HAVE_ARCH_UNMAPPED_AREA
480 476