patch-2.4.5 linux/arch/arm/mm/fault-armv.c

Next file: linux/arch/arm/vmlinux-armv.lds.in
Previous file: linux/arch/arm/mach-sa1100/dma.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.4/linux/arch/arm/mm/fault-armv.c linux/arch/arm/mm/fault-armv.c
@@ -132,7 +132,7 @@
 
 #define get8_unaligned_check(val,addr,err)		\
 	__asm__(					\
-	"1:	ldrb	%1, [%2]\n"			\
+	"1:	ldrb	%1, [%2], #1\n"			\
 	"2:\n"						\
 	"	.section .fixup,\"ax\"\n"		\
 	"	.align	2\n"				\
@@ -148,7 +148,7 @@
 
 #define get8t_unaligned_check(val,addr,err)		\
 	__asm__(					\
-	"1:	ldrbt	%1, [%2]\n"			\
+	"1:	ldrbt	%1, [%2], #1\n"			\
 	"2:\n"						\
 	"	.section .fixup,\"ax\"\n"		\
 	"	.align	2\n"				\

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)