lkml.org 
[lkml]   [2003]   [Apr]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 21 Apr 2003 13:49:59 +0200 (CEST)
FromRoman Zippel <>
SubjectRe: updates for the new IRQ API
Hi,

On Mon, 21 Apr 2003, Andrew Morton wrote:

> A change was made today to the kernel's IRQ handlers.  See
> 
> http://sourceforge.net/mailarchive/forum.php?thread_id=1999147&forum_id=2314
> 
> for details.

Hmm, if we are breaking already every driver, how about gettting rid of 
the pt_regs argument. The timer interrupt is the only real user and it can 
also be stored in irq_desc_t, from where the timer can get it with the 
irq number.
To preserve compatibility we could add something like this for 2.4:

#define alloc_irq(irq, handler, flags, name, id) \
	request_irq(irq, (irqreturn_t (*)(int, void *, struct pt_regs *))handler, flags, name, id)

bye, Roman

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:34    [W:0.199 / U:0.060 seconds]
©2003-2008 Jasper Spaans