sparc32: drop btfixup in page_32.h
authorSam Ravnborg <sam@ravnborg.org>
Sun, 13 May 2012 08:45:18 +0000 (10:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 May 2012 19:51:55 +0000 (12:51 -0700)
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/page_32.h
arch/sparc/mm/init_32.c

index 2afe1e68acf37e6037634f8c3618d4f091c5cbde..0c902ae219c7e384ea92cad673ff9e0d9c49ed3b 100644 (file)
@@ -110,10 +110,7 @@ typedef unsigned long iopgprot_t;
 typedef struct page *pgtable_t;
 
 extern unsigned long sparc_unmapped_base;
-
-BTFIXUPDEF_SETHI(sparc_unmapped_base)
-
-#define TASK_UNMAPPED_BASE     BTFIXUP_SETHI(sparc_unmapped_base)
+#define TASK_UNMAPPED_BASE     sparc_unmapped_base
 
 #else /* !(__ASSEMBLY__) */
 
index 61f9b7039760a5858685251a794de18b28daaaa0..a64b0bbda0ce6d78a53e87d372dfd4a32bf7b9ba 100644 (file)
@@ -300,7 +300,6 @@ void __init paging_init(void)
        case sun4d:
                srmmu_paging_init();
                sparc_unmapped_base = 0x50000000;
-               BTFIXUPSET_SETHI(sparc_unmapped_base, 0x50000000);
                break;
        default:
                prom_printf("paging_init: Cannot init paging on this Sparc\n");