io-writesl.S (712cba5d87a6c0e980ee5fad45734e189c4d7151) io-writesl.S (8478132a8784605fe07ede555f7277d989368d73)
1/*
2 * linux/arch/arm/lib/io-writesl.S
3 *
4 * Copyright (C) 1995-2000 Russell King
5 *
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.
9 */
10#include <linux/linkage.h>
11#include <asm/assembler.h>
1/*
2 * linux/arch/arm/lib/io-writesl.S
3 *
4 * Copyright (C) 1995-2000 Russell King
5 *
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.
9 */
10#include <linux/linkage.h>
11#include <asm/assembler.h>
12#include <asm/export.h>
13
14ENTRY(__raw_writesl)
15 teq r2, #0 @ do we have to check for the zero len?
16 reteq lr
17 ands ip, r1, #3
18 bne 3f
19
20 subs r2, r2, #4

--- 40 unchanged lines hidden (view full) ---

616: mov ip, r3, lspull #24
62 ldr r3, [r1], #4
63 subs r2, r2, #1
64 orr ip, ip, r3, lspush #8
65 str ip, [r0]
66 bne 6b
67 ret lr
68ENDPROC(__raw_writesl)
12
13ENTRY(__raw_writesl)
14 teq r2, #0 @ do we have to check for the zero len?
15 reteq lr
16 ands ip, r1, #3
17 bne 3f
18
19 subs r2, r2, #4

--- 40 unchanged lines hidden (view full) ---

606: mov ip, r3, lspull #24
61 ldr r3, [r1], #4
62 subs r2, r2, #1
63 orr ip, ip, r3, lspush #8
64 str ip, [r0]
65 bne 6b
66 ret lr
67ENDPROC(__raw_writesl)
69EXPORT_SYMBOL(__raw_writesl)