aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/mm
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-02 03:49:38 -0400
committerDavid S. Miller <davem@davemloft.net>2008-09-02 03:49:38 -0400
commit446139a8f7078d96159a936fd6059660db425405 (patch)
tree01b122d257de51c365c1bef32285efa0fbe1c189 /arch/sparc64/mm
parentcdb3592a20b41377a28a0737dc9af95e53024470 (diff)
sparc64: Implement SSTATE purely using notifiers and initcalls.
Don't clutter up the tree with sstate_blah() scattered all over the place. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/mm')
-rw-r--r--arch/sparc64/mm/init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c
index 54193f2d0ab7..7c3c81f60a6e 100644
--- a/arch/sparc64/mm/init.c
+++ b/arch/sparc64/mm/init.c
@@ -46,7 +46,6 @@
46#include <asm/tsb.h> 46#include <asm/tsb.h>
47#include <asm/hypervisor.h> 47#include <asm/hypervisor.h>
48#include <asm/prom.h> 48#include <asm/prom.h>
49#include <asm/sstate.h>
50#include <asm/mdesc.h> 49#include <asm/mdesc.h>
51#include <asm/cpudata.h> 50#include <asm/cpudata.h>
52#include <asm/irq.h> 51#include <asm/irq.h>
@@ -1717,8 +1716,6 @@ void __init paging_init(void)
1717 kern_base = (prom_boot_mapping_phys_low >> 22UL) << 22UL; 1716 kern_base = (prom_boot_mapping_phys_low >> 22UL) << 22UL;
1718 kern_size = (unsigned long)&_end - (unsigned long)KERNBASE; 1717 kern_size = (unsigned long)&_end - (unsigned long)KERNBASE;
1719 1718
1720 sstate_booting();
1721
1722 /* Invalidate both kernel TSBs. */ 1719 /* Invalidate both kernel TSBs. */
1723 memset(swapper_tsb, 0x40, sizeof(swapper_tsb)); 1720 memset(swapper_tsb, 0x40, sizeof(swapper_tsb));
1724#ifndef CONFIG_DEBUG_PAGEALLOC 1721#ifndef CONFIG_DEBUG_PAGEALLOC