[PATCH] Fix pcore build in latest linuxppc_2_4_devel

STALE8798d

2 messages, 2 authors, 2002-07-01 · open the first message on its own page

[PATCH] Fix pcore build in latest linuxppc_2_4_devel

From: Cort Dougan <hidden>
Date: 2002-06-28 18:35:55

If anyone wants the BK patch, drop me a note.

diff -Nru a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok
--- a/BitKeeper/etc/logging_ok	Fri Jun 28 12:34:45 2002
+++ b/BitKeeper/etc/logging_ok	Fri Jun 28 12:34:45 2002
@@ -50,3 +50,4 @@
 trini@entropy.crashing.org
 trini@opus.bloom.county
 trini@stevedallas.bloom.county
+cort@host110.fsmlabs.com
diff -Nru a/arch/ppc/platforms/pcore_setup.c b/arch/ppc/platforms/pcore_setup.c
--- a/arch/ppc/platforms/pcore_setup.c	Fri Jun 28 12:34:45 2002
+++ b/arch/ppc/platforms/pcore_setup.c	Fri Jun 28 12:34:45 2002
@@ -167,13 +167,13 @@
 	for ( i = 0 ; i < 16 ; i++ )
 		irq_desc[i].handler = &i8259_pic;

-	i8259_init(NULL);
+	i8259_init(0);
 }

 static int
 pcore_get_irq(struct pt_regs *regs)
 {
-	return i8259_poll();
+	return i8259_poll(regs);
 }

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

Re: [PATCH] Fix pcore build in latest linuxppc_2_4_devel

From: Tom Rini <hidden>
Date: 2002-07-01 13:55:00

On Fri, Jun 28, 2002 at 12:35:55PM -0600, Cort Dougan wrote:
If anyone wants the BK patch, drop me a note.
I've commited this slightly modified.  Since i8259_{poll,irq} takes a
pt_regs *regs argument, we can call it directly from ppc_md.get_irq()
now.

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

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help