DEC: Bus error handler <asm/cpu-type.h> fixes

Message ID alpine.LFD.2.11.1403312343350.27402@eddie.linux-mips.org
State Accepted
Delegated to: Ralf Baechle
Headers show

Commit Message

Maciej W. Rozycki March 31, 2014, 10:51 p.m.
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 <macro@linux-mips.org>
---
linux-dec-cpu-type.patch

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>