9
0
Fork 0

ioreadsb: put the whole ioreadsb function into the .text.readsb section

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2010-01-29 20:09:35 +01:00
parent ccc2adda4c
commit 9762ce53b2
1 changed files with 2 additions and 2 deletions

View File

@ -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