[PATCH] DEC: Bus error handler <asm/cpu-type.h> fixes
From: Maciej W. Rozycki <hidden>
Date: 2014-03-31 22:51:34
Commit 69f24d1784b631b81a54eb57c49bf46536dd2382 [MIPS: Optimize current_cpu_type() for better code.] missed an update for two DECstation bus error support files that now do not build, this is a fix. Signed-off-by: Maciej W. Rozycki <redacted> --- linux-dec-cpu-type.patch Index: linux-20140329-4maxp64/arch/mips/dec/ecc-berr.c ===================================================================
--- linux-20140329-4maxp64.orig/arch/mips/dec/ecc-berr.c
+++ linux-20140329-4maxp64/arch/mips/dec/ecc-berr.c@@ -21,6 +21,7 @@ #include <asm/addrspace.h> #include <asm/bootinfo.h> #include <asm/cpu.h> +#include <asm/cpu-type.h> #include <asm/irq_regs.h> #include <asm/processor.h> #include <asm/ptrace.h>
Index: linux-20140329-4maxp64/arch/mips/dec/kn02xa-berr.c ===================================================================
--- linux-20140329-4maxp64.orig/arch/mips/dec/kn02xa-berr.c
+++ linux-20140329-4maxp64/arch/mips/dec/kn02xa-berr.c@@ -19,6 +19,7 @@ #include <linux/types.h> #include <asm/addrspace.h> +#include <asm/cpu-type.h> #include <asm/irq_regs.h> #include <asm/ptrace.h> #include <asm/traps.h>