The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] IRQ patch for Toshiba Char Driver in 2.5.34
@ 2002-09-09 11:59 James Blackwell
  2002-09-09 19:39 ` Zwane Mwaikambo
  2002-09-11 10:29 ` Christoph Hellwig
  0 siblings, 2 replies; 10+ messages in thread
From: James Blackwell @ 2002-09-09 11:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: jonathan

Somewhere around 2.5.31 the method for setting and clearing interrupts
changed:

From-                     To-
save_flags(flags);        local_irq_save(flags);
cli();

restore_flags(flags);     local_irq_restore(flags);


Though bordering on trivial, including toshiba support with stock 2.5.34
fails to compile, which this patch seems to fix. This patch fixes this
issue and has worked reliably for me under 2.5.31, though it is untested on
2.5.32 and 2.5.33 because I didn't manage to get those to work. 

A note to those that are a bit rough on kernel patch newbies.... submitting 
a kernel patch for the very first time is a rather intimidating experience
so please don't chew my head off unless its absolutely necessary. 




-- 
GnuPG fingerprint AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400
James Blackwell  --  Director http://www.linuxguru.net

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-09-16 11:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-09 11:59 [PATCH] IRQ patch for Toshiba Char Driver in 2.5.34 James Blackwell
2002-09-09 19:39 ` Zwane Mwaikambo
2002-09-11 10:29 ` Christoph Hellwig
2002-09-15 15:42   ` Pavel Machek
2002-09-15 19:30     ` Vojtech Pavlik
2002-09-15 19:53       ` James Blackwell
2002-09-15 20:02         ` Pavel Machek
2002-09-15 22:27           ` Dave Jones
2002-09-15 23:39           ` Jonathan Buzzard
2002-09-16 11:59             ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox