diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-02-20 22:24:43 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-02-20 22:33:13 +0100 |
commit | 4a9bde9b8ab55a2bb51b57cad215a97bcf80bae2 (patch) | |
tree | e36282d7ed7e39f499e93f413cad57897477c53f /drivers/gpu/drm | |
parent | 1c1517efe173599ca2f1526ce7a04521cd424a9f (diff) | |
download | kernel_samsung_crespo-4a9bde9b8ab55a2bb51b57cad215a97bcf80bae2.zip kernel_samsung_crespo-4a9bde9b8ab55a2bb51b57cad215a97bcf80bae2.tar.gz kernel_samsung_crespo-4a9bde9b8ab55a2bb51b57cad215a97bcf80bae2.tar.bz2 |
firewire: get_cycle_timer optimization and cleanup
ohci: Break out of the retry loop if too many attempts were necessary.
This may theoretically happen if the chip is fatally defective or if the
get_cycle_timer ioctl was performed after a CardBus controller was
ejected.
Also micro-optimize the loop by re-using the last two register reads in
the next iteration, remove a questionable inline keyword, and shuffle a
comment around.
core: ioctl_get_cycle_timer() is always called with interrupts on,
therefore local_irq_save() can be replaced by local_irq_disable().
Disabled local IRQs imply disabled preemption, hence preempt_disable()
can be removed.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/gpu/drm')
0 files changed, 0 insertions, 0 deletions