summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-dma-sff.c
diff options
context:
space:
mode:
authorIvo van Doorn <IvDoorn@gmail.com>2011-04-18 13:34:22 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2011-04-19 19:40:02 (GMT)
commit8d0a2dcfb6f965781cde6d9dfbd4540ab22a0eb9 (patch)
treec42b1ace43934b189214970622513558e7231443 /drivers/ide/ide-dma-sff.c
parent9a8199961b22e61221a6114b8bbbc26ddcc243f7 (diff)
downloadlinux-8d0a2dcfb6f965781cde6d9dfbd4540ab22a0eb9.tar.xz
rt2x00: Optimize register access in rt2800usb
All register reads/writes in rt2800usb were previously done with rt2800_register_read/rt2800_register_write. These however indirectly call rt2x00usb_register_read/rt2x00usb_register_write which adds an additional overhead of at least one call and several move instructions to each register access. Replacing the calls to rt2800_register_read/rt2800_register_write with direct calls to rt2x00usb_register_read/rt2x00usb_register_write gets rid of quite a number of instructions in the drivers hotpaths (IRQ handling and txdone handling). For consistency replace all references to rt2800_register_read/write with the rt2x00usb_register_read/write variants. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ide/ide-dma-sff.c')
0 files changed, 0 insertions, 0 deletions