aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/mm/init.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-05-25 03:37:12 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-29 05:49:29 -0400
commit22d6a1cba3e9ec9baf8ce4d8dd1d088e112a64f1 (patch)
treeb16a912edb689cba40395f778acb3d5dd9426fd8 /arch/sparc64/mm/init.c
parent36b48973b8f1818d0ae6d16e548081d00162ae39 (diff)
[SPARC64]: Report proper system soft state to the hypervisor.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/mm/init.c')
-rw-r--r--arch/sparc64/mm/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c
index 6e5b01d779d2..0c9995c3b8ed 100644
--- a/arch/sparc64/mm/init.c
+++ b/arch/sparc64/mm/init.c
@@ -43,6 +43,7 @@
43#include <asm/tsb.h> 43#include <asm/tsb.h>
44#include <asm/hypervisor.h> 44#include <asm/hypervisor.h>
45#include <asm/prom.h> 45#include <asm/prom.h>
46#include <asm/sstate.h>
46 47
47extern void device_scan(void); 48extern void device_scan(void);
48 49
@@ -1348,6 +1349,8 @@ void __init paging_init(void)
1348 kern_base = (prom_boot_mapping_phys_low >> 22UL) << 22UL; 1349 kern_base = (prom_boot_mapping_phys_low >> 22UL) << 22UL;
1349 kern_size = (unsigned long)&_end - (unsigned long)KERNBASE; 1350 kern_size = (unsigned long)&_end - (unsigned long)KERNBASE;
1350 1351
1352 sstate_booting();
1353
1351 /* Invalidate both kernel TSBs. */ 1354 /* Invalidate both kernel TSBs. */
1352 memset(swapper_tsb, 0x40, sizeof(swapper_tsb)); 1355 memset(swapper_tsb, 0x40, sizeof(swapper_tsb));
1353#ifndef CONFIG_DEBUG_PAGEALLOC 1356#ifndef CONFIG_DEBUG_PAGEALLOC