Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] 2.6.10-pa1 build failure [drivers/serial/mux.c]
@ 2004-12-26  7:12 Mike Frysinger
  2004-12-26 14:11 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2004-12-26  7:12 UTC (permalink / raw)
  To: parisc-linux

this hunk is bum:
--- LINUS_2_6_10/drivers/serial/mux.c
+++ CVS2_6_10_PA1/drivers/serial/mux.c
-       port->irq   = SERIAL_IRQ_NONE;
+       port->irq   = NO_IRQ;

NO_IRQ isnt defined in any headers, but the serial_core.c has a similar hunk:

--- LINUS_2_6_10/drivers/serial/serial_core.c
+++ CVS2_6_10_PA1/drivers/serial/serial_core.c
+#ifndef NO_IRQ
+#define NO_IRQ (-1)
+#endif
+   if (port->irq == NO_IRQ) {
-mike
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

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

* Re: [parisc-linux] 2.6.10-pa1 build failure [drivers/serial/mux.c]
  2004-12-26  7:12 [parisc-linux] 2.6.10-pa1 build failure [drivers/serial/mux.c] Mike Frysinger
@ 2004-12-26 14:11 ` Matthew Wilcox
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2004-12-26 14:11 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: parisc-linux

On Sun, Dec 26, 2004 at 02:12:19AM -0500, Mike Frysinger wrote:
> this hunk is bum:
> --- LINUS_2_6_10/drivers/serial/mux.c
> +++ CVS2_6_10_PA1/drivers/serial/mux.c
> -       port->irq   = SERIAL_IRQ_NONE;
> +       port->irq   = NO_IRQ;
> 
> NO_IRQ isnt defined in any headers, but the serial_core.c has a similar hunk:

include/asm-parisc/irq.h defines NO_IRQ.  The hack in serial_core.c
is there because I build the parisc tree on a bunch of different
architectures (mostly i386 and ia64), and not everyone is defining
NO_IRQ yet.  There was a discussion about it on the linux-arch mailing
list and Ben Herrenschmidt is supposed to be driving it.  He's been
busy; I was just switching us over prematurely.

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

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

end of thread, other threads:[~2004-12-26 14:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-26  7:12 [parisc-linux] 2.6.10-pa1 build failure [drivers/serial/mux.c] Mike Frysinger
2004-12-26 14:11 ` Matthew Wilcox

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