[PATCH][MIPS] fix dsemul build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



arch/mips/math-emu/dsemul.c: In function 'mips_dsemul':
arch/mips/math-emu/dsemul.c:96: error: 'BRK_MEMU' undeclared (first use in this function)
arch/mips/math-emu/dsemul.c:96: error: (Each undeclared identifier is reported only once
arch/mips/math-emu/dsemul.c:96: error: for each function it appears in.)
arch/mips/math-emu/dsemul.c: In function 'do_dsemulret':
arch/mips/math-emu/dsemul.c:138: error: 'BRK_MEMU' undeclared (first use in this function)
make[1]: *** [arch/mips/math-emu/dsemul.o] Error 1

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx>

diff -pruN -X /home/yuasa/Memo/dontdiff linux-orig/arch/mips/include/asm/fpu_emulator.h linux/arch/mips/include/asm/fpu_emulator.h
--- linux-orig/arch/mips/include/asm/fpu_emulator.h	2008-10-30 09:49:14.369198923 +0900
+++ linux/arch/mips/include/asm/fpu_emulator.h	2008-10-30 11:37:39.871188124 +0900
@@ -23,6 +23,7 @@
 #ifndef _ASM_FPU_EMULATOR_H
 #define _ASM_FPU_EMULATOR_H
 
+#include <asm/break.h>
 #include <asm/inst.h>
 
 struct mips_fpu_emulator_stats {


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux