APUS irq patch

Tom Rini trini at kernel.crashing.org
Fri Nov 2 11:57:03 EST 2001


On Fri, Nov 02, 2001 at 01:27:46AM +0100, Roman Zippel wrote:

> Tom Rini wrote:
>
> > > This patch converts the irq assembly in head.S into C, the only problem is
> > > that I needed to change a prototype in <linux/irq.h>, as some additional
> > > info has to be saved/restored during an irq.
> >
> > Ack.  Won't this break other things?  I'm assuming other arches use
> > -end() too..
>
> Quite a lot actually and I don't think it's solvable before 2.5.
> It's a bit unfortunate that a architecture specific structure is in a
> general header. post_irq doesn't exist anymore (which had the pt_regs
> pointer), the only other solution would be to rename hw_interrupt_type
> and use a private version.

Well, could we accomidate APUS with some PPC-specific changes that don't
touch generic stuffs?

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list