5 save_and_disable_irqs ip, r2
6 ldrb r2, [r1, r0, lsr #3]
8 strb r2, [r1, r0, lsr #3]
14 * testop - implement a test_and_xxx_bit operation.
15 * @instr: operational instruction
16 * @store: store instruction
18 * Note: we can trivially conditionalise the store instruction
19 * to avoid dirting the data cache.
21 .macro testop, instr, store
22 add r1, r1, r0, lsr #3
25 save_and_disable_irqs ip, r2
28 \instr r2, r2, r0, lsl r3