2.3.41-pre3 and athlon support..
Jarkko Lietolahti
jappe en iki.fi
Mie Ene 26 21:27:52 CST 2000
After fiddling abit around i managed to produce this patch which creates a
kernel that compiles and boots just fine. After adding #include
<linux/sched.h> to string.h make complained something about circular
makefiles so i had to remove linux/string.h from signal.h and to my
suprise the kernel compiled and booted just fine.
Haven't yet tried to compile with other processor types..
Any comments on this? Something it breaks? Why wasn't the linux/string.h
really needed (or is it?) in signal.h?
diff -u -r linux/include/asm-i386/string.h linux-2.3.41-pre3/include/asm-i386/string.h
--- linux/include/asm-i386/string.h Fri Jan 21 02:05:35 2000
+++ linux-2.3.41-pre3/include/asm-i386/string.h Sat Jan 29 23:32:27 2000
@@ -289,7 +289,7 @@
#ifdef CONFIG_X86_USE_3DNOW
/* All this just for in_interrupt() ... */
-
+#include <linux/sched.h>
#include <asm/system.h>
#include <asm/ptrace.h>
#include <linux/smp.h>
diff -u -r linux/include/linux/signal.h linux-2.3.41-pre3/include/linux/signal.h
--- linux/include/linux/signal.h Fri Jan 21 02:05:38 2000
+++ linux-2.3.41-pre3/include/linux/signal.h Sat Jan 29 23:31:22 2000
@@ -61,7 +61,7 @@
#endif /* __HAVE_ARCH_SIG_BITOPS */
#ifndef __HAVE_ARCH_SIG_SETOPS
-#include <linux/string.h>
#define _SIG_SET_BINOP(name, op) \
extern inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \
--
-----------------------------------------\
jappe en iki.fi http://www.iki.fi/~jappe |
Jarkko.Lietolahti en cs.helsinki.fi |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
Más información sobre la lista de distribución Ayuda