lkml.org 
[lkml]   [2003]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 13:34    [W:0.027 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site