Re: Uniprocessor Compile error: 2.4.15-pre4 (-tr) in kernel.o

Robert Love (rml@tech9.net)
15 Nov 2001 14:10:25 -0500


On Wed, Nov 14, 2001 at 07:44:59AM +1100, Ben Ryan wrote:
> SMP compile succeeded. (albeit with lots of warnings on 'pure')

UP users of the patch will want to apply this, too:

diff -urN rattlesnake/include/asm-i386/current_asm.h linux/include/asm-i386/current_asm.h
--- rattlesnake/include/asm-i386/current_asm.h Thu Nov 15 14:07:46 2001
+++ linux/include/asm-i386/current_asm.h Thu Nov 15 14:08:15 2001
@@ -7,7 +7,7 @@
#include <linux/per_cpu.h>
#include <asm/desc.h>

-#if 1 /*def CONFIG_SMP*/
+#ifdef CONFIG_SMP
/* Pass in the long and short versions of the register.
* eg GET_CURRENT(%ebx,%bx)
* All of this braindamage comes to us c/o a bug in gas: the

Robert Love

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/