error compiling sched.c with current 2.6 bk

Hollis Blanchard hollisb at
Wed Oct 15 07:35:00 EST 2003

On Tuesday, Oct 14, 2003, at 14:57 US/Central, Patrick Mansfield wrote:
> arch/ppc64/kernel/built-in.o: In function `.SYS_CALL_TABLE32':
> arch/ppc64/kernel/built-in.o(.toc+0x4a8): undefined reference to
> `irq_desc'

Looks like this was a very recent merge typo in irq.c. Olaf posted a
patch earlier, which looks right given other code nearby... replace the
offending line (in disable_irq):
-	irq_desc_t *desc = irq_desc + irq;
+	irq_desc_t *desc = get_irq_desc(irq);

> Any other patches?

Hopefully not... :)

Hollis Blanchard
IBM Linux Technology Center

** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list