hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/arch/arm/mach-mvebu/coherency_ll.S
....@@ -35,13 +35,8 @@
3535
3636 /*
3737 * MMU is disabled, use the physical address of the coherency
38
- * base address. However, if the coherency fabric isn't mapped
39
- * (i.e its virtual address is zero), it means coherency is
40
- * not enabled, so we return 0.
38
+ * base address, (or 0x0 if the coherency fabric is not mapped)
4139 */
42
- ldr r1, =coherency_base
43
- cmp r1, #0
44
- beq 2f
4540 adr r1, 3f
4641 ldr r3, [r1]
4742 ldr r1, [r1, r3]
....@@ -66,7 +61,7 @@
6661 * fabric registers
6762 */
6863 ENTRY(ll_get_coherency_cpumask)
69
- mrc 15, 0, r3, cr0, cr0, 5
64
+ mrc p15, 0, r3, cr0, cr0, 5
7065 and r3, r3, #15
7166 mov r2, #(1 << 24)
7267 lsl r3, r2, r3