2 * linux/arch/arm/lib/io-writesl.S
4 * Copyright (C) 1995-2000 Russell King
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 #include <linux/linkage.h>
11 #include <asm/assembler.h>
12 #include <asm/export.h>
15 teq r2, #0 @ do we have to check for the zero len?
23 1: ldmia r1!, {r3, r4, ip, lr}
31 2: movs r2, r2, lsl #31
45 4: mov ip, r3, lspull #16
48 orr ip, ip, r3, lspush #16
53 5: mov ip, r3, lspull #8
56 orr ip, ip, r3, lspush #24
61 6: mov ip, r3, lspull #24
64 orr ip, ip, r3, lspush #8
68 ENDPROC(__raw_writesl)
69 EXPORT_SYMBOL(__raw_writesl)