summaryrefslogtreecommitdiff
path: root/arch/m68k/mm/cache.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2012-01-27 11:01:41 (GMT)
committerIngo Molnar <mingo@elte.hu>2012-01-27 11:01:43 (GMT)
commit801493c2e249a7314e9e8e54ad60d613d0a86f14 (patch)
treec8f77ce14e76abec848366812a0aad0fad4f539c /arch/m68k/mm/cache.c
parent939ddcfa60dabfaed390987bf0103a6654c0fe30 (diff)
parent74ea15d909b31158f9b63190a95b52bc05586d4b (diff)
downloadlinux-fsl-qoriq-801493c2e249a7314e9e8e54ad60d613d0a86f14.tar.xz
Merge branch 'linus' into perf/core
Merge reason: pick up fixes that are upstream, we need them because we'll apply dependent patches. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/m68k/mm/cache.c')
-rw-r--r--arch/m68k/mm/cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68k/mm/cache.c b/arch/m68k/mm/cache.c
index 95d0bf6..3d84c1f 100644
--- a/arch/m68k/mm/cache.c
+++ b/arch/m68k/mm/cache.c
@@ -52,9 +52,9 @@ static unsigned long virt_to_phys_slow(unsigned long vaddr)
unsigned long *descaddr;
asm volatile ("ptestr %3,%2@,#7,%0\n\t"
- "pmove %%psr,%1@"
- : "=a&" (descaddr)
- : "a" (&mmusr), "a" (vaddr), "d" (get_fs().seg));
+ "pmove %%psr,%1"
+ : "=a&" (descaddr), "=m" (mmusr)
+ : "a" (vaddr), "d" (get_fs().seg));
if (mmusr & (MMU_I|MMU_B|MMU_L))
return 0;
descaddr = phys_to_virt((unsigned long)descaddr);