summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/Kconfig
diff options
context:
space:
mode:
authorMagnus Damm2008-12-25 10:17:26 +0100
committerPaul Mundt2009-01-27 06:49:10 +0100
commit3292094e88ce6b76714dad8ec4b43d7c5c12ada2 (patch)
tree0469a3523b1794a9ecb9f5df99ce3d726d442b2a /arch/sh/boards/Kconfig
parentsh: lockless gpio_get_value() (diff)
downloadkernel-qcow2-linux-3292094e88ce6b76714dad8ec4b43d7c5c12ada2.tar.gz
kernel-qcow2-linux-3292094e88ce6b76714dad8ec4b43d7c5c12ada2.tar.xz
kernel-qcow2-linux-3292094e88ce6b76714dad8ec4b43d7c5c12ada2.zip
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 <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/Kconfig')
0 files changed, 0 insertions, 0 deletions