diff options
Diffstat (limited to 'arch/arm/mm/mm-rpc.c')
-rw-r--r-- | arch/arm/mm/mm-rpc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mm/mm-rpc.c b/arch/arm/mm/mm-rpc.c index 1c755faaf..80f821245 100644 --- a/arch/arm/mm/mm-rpc.c +++ b/arch/arm/mm/mm-rpc.c @@ -68,8 +68,8 @@ unsigned long __phys_to_virt(unsigned long phys) return phys + rambank[bank].phys_offset; } -__initfunc(void -init_dram_banks(struct param_struct *params)) +void __init +init_dram_banks(struct param_struct *params) { unsigned int bank; unsigned int bytes = 0; @@ -85,8 +85,6 @@ init_dram_banks(struct param_struct *params)) rambank[FIRST_VRAM_BANK].phys_offset = 0xd6000000; rambank[FIRST_VRAM_BANK].virt_addr = 0xd8000000; - - current->tss.memmap = __virt_to_phys((unsigned long)swapper_pg_dir); } #define MAPPING \ |