diff options
| author | Magnus Damm <[email protected]> | 2008-12-25 18:17:26 +0900 |
|---|---|---|
| committer | Paul Mundt <[email protected]> | 2009-01-27 14:49:10 +0900 |
| commit | 3292094e88ce6b76714dad8ec4b43d7c5c12ada2 (patch) | |
| tree | 0469a3523b1794a9ecb9f5df99ce3d726d442b2a /include/linux/debugobjects.h | |
| parent | 0fc64cc0a27288e77ee8e12648d59632649371fc (diff) | |
sh: lockless gpio_set_value()
This patch optimizes the gpio data register handling for gpio_set_value().
Instead of using the good old spinlock-plus-read-modify-write strategy
we now use a shadow register and atomic operations.
This improves the bitbanging mmc performance on Migo-R from 26 Kbytes/s
to 40 Kbytes/s.
Signed-off-by: Magnus Damm <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions