Commit c966a337 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller

sparc32: drop sparc_unmapped_base

The base is always the same so no need to use a variable for this.
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d884297a
...@@ -107,8 +107,7 @@ typedef unsigned long iopgprot_t; ...@@ -107,8 +107,7 @@ typedef unsigned long iopgprot_t;
typedef struct page *pgtable_t; typedef struct page *pgtable_t;
extern unsigned long sparc_unmapped_base; #define TASK_UNMAPPED_BASE 0x50000000
#define TASK_UNMAPPED_BASE sparc_unmapped_base
#else /* !(__ASSEMBLY__) */ #else /* !(__ASSEMBLY__) */
......
...@@ -45,7 +45,6 @@ unsigned long pfn_base; ...@@ -45,7 +45,6 @@ unsigned long pfn_base;
EXPORT_SYMBOL(pfn_base); EXPORT_SYMBOL(pfn_base);
struct sparc_phys_banks sp_banks[SPARC_PHYS_BANKS+1]; struct sparc_phys_banks sp_banks[SPARC_PHYS_BANKS+1];
unsigned long sparc_unmapped_base;
struct pgtable_cache_struct pgt_quicklists; struct pgtable_cache_struct pgt_quicklists;
...@@ -297,7 +296,6 @@ void __init paging_init(void) ...@@ -297,7 +296,6 @@ void __init paging_init(void)
case sun4m: case sun4m:
case sun4d: case sun4d:
srmmu_paging_init(); srmmu_paging_init();
sparc_unmapped_base = 0x50000000;
break; break;
default: default:
prom_printf("paging_init: Cannot init paging on this Sparc\n"); prom_printf("paging_init: Cannot init paging on this Sparc\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment