diff options
Diffstat (limited to 'arch/sparc64/kernel/chmc.c')
-rw-r--r-- | arch/sparc64/kernel/chmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/chmc.c b/arch/sparc64/kernel/chmc.c index 967b0488682..3b9f4d6e14a 100644 --- a/arch/sparc64/kernel/chmc.c +++ b/arch/sparc64/kernel/chmc.c | |||
@@ -831,7 +831,7 @@ static int __init us3mc_init(void) | |||
831 | if (!us3mc_platform()) | 831 | if (!us3mc_platform()) |
832 | return -ENODEV; | 832 | return -ENODEV; |
833 | 833 | ||
834 | __asm__ ("rdpr %%ver, %0" : "=r" (ver)); | 834 | __asm__ __volatile__("rdpr %%ver, %0" : "=r" (ver)); |
835 | if ((ver >> 32UL) == __JALAPENO_ID || | 835 | if ((ver >> 32UL) == __JALAPENO_ID || |
836 | (ver >> 32UL) == __SERRANO_ID) { | 836 | (ver >> 32UL) == __SERRANO_ID) { |
837 | mc_type = MC_TYPE_JBUS; | 837 | mc_type = MC_TYPE_JBUS; |