[PATCH 5/8] arch/x86: Add support for device tree code.

Stephen Neuendorffer stephen.neuendorffer at xilinx.com
Sat Jul 17 06:11:55 EST 2010


 
> >> > diff --git a/arch/x86/include/asm/irq.h b/arch/x86/include/asm/irq.h
> >> > index 5458380..6c61992 100644
> >> > --- a/arch/x86/include/asm/irq.h
> >> > +++ b/arch/x86/include/asm/irq.h
> >> > @@ -10,6 +10,10 @@
> >> >  #include <asm/apicdef.h>
> >> >  #include <asm/irq_vectors.h>
> >> >
> >> > +#define NO_IRQ (-1)
> >> > +
> >>
> >> no.  irq 0 means no irq, and all patches adding #define NO_IRQ to x86
> >> have been nacked.  (Basically, all architectures using -1 to mean no
> >> irq are considered broken.  ARM is one of the few (albeit large)
> >> holdouts.  I've got a patch kicking around to change microblaze to use
> >> 0 for no_irq too.
> >
> > OK, bogon there..  The question is: how to get rid of it, since the generic of/irq.c
> > code references it?
> 
> Fix microblaze, then NO_IRQ references can be removed from of/irq.c
> 
> g.

OK... Michal: I see you were against this patch...
What is your current thinking?

Steve


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.




More information about the devicetree-discuss mailing list