* [PATCH][MIPS] fix dsemul build error
@ 2008-10-30 14:04 Yoichi Yuasa
2008-10-30 14:25 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Yoichi Yuasa @ 2008-10-30 14:04 UTC (permalink / raw)
To: Ralf Baechle; +Cc: yoichi_yuasa, linux-mips
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@tripeaks.co.jp>
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 {
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH][MIPS] fix dsemul build error
2008-10-30 14:04 [PATCH][MIPS] fix dsemul build error Yoichi Yuasa
@ 2008-10-30 14:25 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2008-10-30 14:25 UTC (permalink / raw)
To: Yoichi Yuasa; +Cc: linux-mips
On Thu, Oct 30, 2008 at 11:04:48PM +0900, Yoichi Yuasa wrote:
> 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
Interesting. Ah, the kernel builds with CONFIG_BUG=y. So enabling the
bugs makes the kernel work, that's another bug ;-)
Patch applied, thanks!
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-30 14:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-30 14:04 [PATCH][MIPS] fix dsemul build error Yoichi Yuasa
2008-10-30 14:25 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox