patch-2.4.2 linux/arch/arm/mm/proc-arm920.S
Next file: linux/arch/arm/mm/proc-sa110.S
Previous file: linux/arch/arm/mm/proc-arm720.S
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Thu Feb 8 16:32:44 2001
- Orig file:
v2.4.1/linux/arch/arm/mm/proc-arm920.S
- Orig date:
Mon Sep 18 15:15:25 2000
diff -u --recursive --new-file v2.4.1/linux/arch/arm/mm/proc-arm920.S linux/arch/arm/mm/proc-arm920.S
@@ -68,9 +68,9 @@
ENTRY(cpu_arm920_data_abort)
ldr r1, [r0] @ read aborted instruction
mrc p15, 0, r0, c6, c0, 0 @ get FAR
- mov r1, r1, lsr #19 @ b1 = L
+ tst r1, r1, lsr #21 @ C = bit 20
mrc p15, 0, r3, c5, c0, 0 @ get FSR
- and r1, r1, #2
+ sbc r1, r1, r1 @ r1 = C - 1
and r3, r3, #255
mov pc, lr
@@ -330,7 +330,7 @@
mov r0, #0
mcr p15, 0, r0, c7, c10, 4 @ drain WB
ENTRY(cpu_arm920_icache_invalidate_page)
- /* why no invalidate I cache --rmk */
+ mcr p15, 0, r0, c7, c5, 0 @ invalidate I cache
mov pc, lr
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)