Messages in this thread Patch in this message | | | Date | Sun, 30 Jan 2000 00:07:00 +0200 (EET) | From | Jarkko Lietolahti <> | Subject | 2.3.41-pre3 and athlon support.. |
| |
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@iki.fi http://www.iki.fi/~jappe | Jarkko.Lietolahti@cs.helsinki.fi |
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |