misused local_irq_disable() in analog.c?
Dmitry, take a look at analog_cooked_read():
do-while loop there contains local_irq_disable()/local_irq_restore(flags); which aren't complement.
Should it be
local_irq_save(flags); this = gameport_read(gameport) & port->mask; GET_TIME(now); local_irq_restore(flags);
?
Quoted 5 lines · Alexey Dobriyan
Dmitry, take a look at
analog_cooked_read():do-while loop there contains local_irq_disable()/local_irq_restore(flags); which aren't complement.
Quoted 8 lines
Should it be
local_irq_save(flags); this = gameport_read(gameport) & port->mask; GET_TIME(now); local_irq_restore(flags);?
Yep, I think so. Patch?
Signature · 1 line
Dmitry
Quoted 8 lines · On Wed, 11 Oct 2006 16:17:33 -0400 Dmitry Torokhov wrote:
Quoted 7 lines · Alexey Dobriyan
Dmitry, take a look at
analog_cooked_read():do-while loop there contains local_irq_disable()/local_irq_restore(flags); which aren't complement.
Should it be
Quoted 8 lines
Quoted 6 lines
local_irq_save(flags); this = gameport_read(gameport) & port->mask; GET_TIME(now); local_irq_restore(flags);?
Yep, I think so. Patch?
Alexey replied on another thread (Re: [PATCH] misuse of strstr):
"sorry for absence of patch, I'm on wonders of BY dial-up _and_ Gmail web interface right now."
---
~Randy