Re: 2.6.9-rc3-mm2

From: Mathieu Segaud
Date: Mon Oct 04 2004 - 05:38:08 EST


Andrew Morton <akpm@xxxxxxxx> writes:

> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc3/2.6.9-rc3-mm2/
>
>
> - Hopefully those x86 compile errors are fixed up.
>
> - Various fairly minor updates
>

It fails to compile at arch/i386/kernel/irq.c if CONFIG_4KSTACKS is undefined
this seems to fix (just compile tested, too far from home to boot-test it :))

--- linux-2.6.9-rc3-mm2/arch/i386/kernel/irq.c.old 2004-10-04 12:30:08.600490264 +0200
+++ linux-2.6.9-rc3-mm2/arch/i386/kernel/irq.c 2004-10-04 12:27:44.632376744 +0200
@@ -199,6 +199,7 @@

atomic_t irq_err_count;

+#ifdef CONFIG_4KSTACKS
int is_irq_stack_ptr(struct task_struct *task, void *p)
{
unsigned long off;
@@ -213,6 +214,7 @@

return 0;
}
+#endif

/*
* /proc/interrupts printing:

Hum, and I can see that there is a fix to get reiser4 working with 4Kstacks
but reiser4 option still doesn't appear if CONFIG_4KSTACKS is enabled.

--
Mathieu Segaud