From 9762ce53b2c965c31234a1bfd9c2d55175da8d4c Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Fri, 29 Jan 2010 20:09:35 +0100 Subject: [PATCH] ioreadsb: put the whole ioreadsb function into the .text.readsb section Signed-off-by: Marc Kleine-Budde --- arch/arm/lib/io-readsb.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/lib/io-readsb.S b/arch/arm/lib/io-readsb.S index 9ee07b8fe..963c45517 100644 --- a/arch/arm/lib/io-readsb.S +++ b/arch/arm/lib/io-readsb.S @@ -10,6 +10,8 @@ #include #include +.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