dslinux/linux-2.6.x/arch/arm/kernel entry-armv.S

amadeus dslinux_amadeus at user.in-berlin.de
Sun Aug 13 12:24:37 CEST 2006


Update of /cvsroot/dslinux/dslinux/linux-2.6.x/arch/arm/kernel
In directory antilope:/tmp/cvs-serv19958/linux-2.6.x/arch/arm/kernel

Modified Files:
	entry-armv.S 
Log Message:
8bit write cleanup

Index: entry-armv.S
===================================================================
RCS file: /cvsroot/dslinux/dslinux/linux-2.6.x/arch/arm/kernel/entry-armv.S,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- entry-armv.S	26 Feb 2006 17:46:40 -0000	1.3
+++ entry-armv.S	13 Aug 2006 10:24:35 -0000	1.4
@@ -453,7 +453,12 @@
 	and	r8, r0, #0x00000f00		@ mask out CP number
 	mov	r7, #1
 	add	r6, r10, #TI_USED_CP
+#ifdef CONFIG_NDS_ROM8BIT
+	add	r6, r6, r8, lsr #8
+	swpb	r5, r7, [r6]
+#else
 	strb	r7, [r6, r8, lsr #8]		@ set appropriate used_cp[]
+#endif
 #ifdef CONFIG_IWMMXT
 	@ Test if we need to give access to iWMMXt coprocessors
 	ldr	r5, [r10, #TI_FLAGS]




More information about the dslinux-commit mailing list