[PATCH 08/11] ioreadsb: put the whole ioreadsb function into the .text.readsb section

Marc Kleine-Budde mkl at pengutronix.de
Tue Feb 16 09:46:23 EST 2010


Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
---
 arch/arm/lib/io-readsb.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/lib/io-readsb.S b/arch/arm/lib/io-readsb.S
index 9ee07b8..963c455 100644
--- a/arch/arm/lib/io-readsb.S
+++ b/arch/arm/lib/io-readsb.S
@@ -10,6 +10,8 @@
 #include <linux/linkage.h>
 #include <asm/assembler.h>
 
+.section .text.readsb
+
 .Linsb_align:	rsb	ip, ip, #4
 		cmp	ip, r2
 		movgt	ip, r2
@@ -23,8 +25,6 @@
 		subs	r2, r2, ip
 		bne	.Linsb_aligned
 
-.section .text.readsb
-
 ENTRY(readsb)
 		teq	r2, #0		@ do we have to check for the zero len?
 		moveq	pc, lr
-- 
1.6.6.2




More information about the barebox mailing list