[PATCH] 2.5.4 fixes
From: Vivien Chappelier <hidden>
Date: 2002-07-09 22:20:55
Hi, Here is a fix to have mips64 compile on the new 2.5.4 CVS HEAD kernel. Just a few missing headers. Vivien. diff -Naur linux/arch/mips64/kernel/entry.S linux.patch/arch/mips64/kernel/entry.S
--- linux/arch/mips64/kernel/entry.S Tue Jul 9 22:02:18 2002
+++ linux.patch/arch/mips64/kernel/entry.S Tue Jul 9 23:44:24 2002@@ -13,6 +13,7 @@ #include <asm/regdef.h> #include <asm/mipsregs.h> #include <asm/stackframe.h> +#include <asm/thread_info.h> #define KU_USER 0x10
diff -Naur linux/arch/mips64/kernel/scall_64.S linux.patch/arch/mips64/kernel/scall_64.S
--- linux/arch/mips64/kernel/scall_64.S Tue Jul 9 22:02:19 2002
+++ linux.patch/arch/mips64/kernel/scall_64.S Tue Jul 9 23:49:53 2002@@ -15,6 +15,7 @@ #include <asm/stackframe.h> #include <asm/offset.h> #include <asm/unistd.h> +#include <asm/thread_info.h> #ifndef CONFIG_MIPS32_COMPAT #define handle_sys64 handle_sys
diff -Naur linux/include/asm-mips64/pgalloc.h linux.patch/include/asm-mips64/pgalloc.h
--- linux/include/asm-mips64/pgalloc.h Mon Jul 8 22:28:12 2002
+++ linux.patch/include/asm-mips64/pgalloc.h Tue Jul 9 23:22:04 2002@@ -9,6 +9,7 @@ #ifndef _ASM_PGALLOC_H #define _ASM_PGALLOC_H +#include <asm/pgtable.h> #include <linux/config.h> /* TLB flushing: