diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-12-25 18:17:09 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-01-27 14:49:09 +0900 |
commit | 18801be7f805b891876a6676ec7fac2e1acdec13 (patch) | |
tree | 71b4366a89ac25980dc16bc1b33fbc6943f1155c /block/noop-iosched.c | |
parent | 5376071069ec8a7e6a8112beab16fc24f5139475 (diff) |
sh: make gpio_get/set_value() O(1)
This patch modifies the table based SuperH gpio implementation to
make use of direct table lookups. With this change the functions
gpio_get_value() and gpio_set_value() are O(1).
Tested on Migo-R using bitbanging mmc. Performance is improved from
11 KBytes/s to 26 Kbytes/s.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions