Skip to contentSkip to conversation

Fix pcore build in latest linuxppc_2_4_devel

PATCH In review Cort Dougan 2 participants 2 messages Jun 28, 2002 – Jul 1, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix pcore build in latest linuxppc_2_4_devel

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

BitKeeper/etc/logging_ok +1 -0
diff -Nru a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok
@@ -50,3 +50,4 @@
 [email protected]
 [email protected]
 [email protected]
[email protected]
arch/ppc/platforms/pcore_setup.c +2 -2
diff -Nru a/arch/ppc/platforms/pcore_setup.c b/arch/ppc/platforms/pcore_setup.c
@@ -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/

#1 lore raw
Quoted 1 line · Cort Dougan

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/