summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/bugs.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-05-25 00:37:12 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-29 02:49:29 -0700
commit22d6a1cba3e9ec9baf8ce4d8dd1d088e112a64f1 (patch)
treeb16a912edb689cba40395f778acb3d5dd9426fd8 /include/asm-sparc64/bugs.h
parent36b48973b8f1818d0ae6d16e548081d00162ae39 (diff)
downloadkernel-crypto-22d6a1cba3e9ec9baf8ce4d8dd1d088e112a64f1.tar.gz
kernel-crypto-22d6a1cba3e9ec9baf8ce4d8dd1d088e112a64f1.tar.xz
kernel-crypto-22d6a1cba3e9ec9baf8ce4d8dd1d088e112a64f1.zip
[SPARC64]: Report proper system soft state to the hypervisor.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/bugs.h')
-rw-r--r--include/asm-sparc64/bugs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-sparc64/bugs.h b/include/asm-sparc64/bugs.h
index 120422fdb02..bf39d86c0c9 100644
--- a/include/asm-sparc64/bugs.h
+++ b/include/asm-sparc64/bugs.h
@@ -1,9 +1,8 @@
-/* $Id: bugs.h,v 1.1 1996/12/26 13:25:20 davem Exp $
- * include/asm-sparc64/bugs.h: Sparc probes for various bugs.
+/* bugs.h: Sparc64 probes for various bugs.
*
- * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
+ * Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net)
*/
-
+#include <asm/sstate.h>
extern unsigned long loops_per_jiffy;
@@ -12,4 +11,5 @@ static void __init check_bugs(void)
#ifndef CONFIG_SMP
cpu_data(0).udelay_val = loops_per_jiffy;
#endif
+ sstate_running();
}