]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/mm/proc-v7-2level.S
ARM: 7650/1: mm: replace direct access to mm->context.id with new macro
[karo-tx-linux.git] / arch / arm / mm / proc-v7-2level.S
index 6d98c13ab82765fe74f8fe7d913e4bf3bfae6866..78f520bc0e99aabad65805521acc5e24e6b48a43 100644 (file)
@@ -40,7 +40,7 @@
 ENTRY(cpu_v7_switch_mm)
 #ifdef CONFIG_MMU
        mov     r2, #0
-       ldr     r1, [r1, #MM_CONTEXT_ID]        @ get mm->context.id
+       mmid    r1, r1                          @ get mm->context.id
        ALT_SMP(orr     r0, r0, #TTB_FLAGS_SMP)
        ALT_UP(orr      r0, r0, #TTB_FLAGS_UP)
 #ifdef CONFIG_ARM_ERRATA_430973