linux-mips
[Top] [All Lists]

[PATCH][MIPS] fix dsemul build error

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][MIPS] fix dsemul build error
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Thu, 30 Oct 2008 23:04:48 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :x-mailer:mime-version:content-type:content-transfer-encoding:sender :message-id; bh=/F3CbN5rWQc3pGLAozbrCrPxshuR8oNGD9TCwI8BpmY=; b=eUamERdjiQtaBCsPZQACeoR9jFnmqzLYV624YlLq1f6i3RZY0AAAHHPHQdrB+aC7u+ HJUcPN8snO/cj7q4dETFIuC5+CGY6/oqYebjqU+N0YKLTmgAKnLpArU3KUoJljKXRy3f zo9OYlcDrFWWbcnSA1j8jwIPJLpF+faBLfxVY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:x-mailer:mime-version:content-type :content-transfer-encoding:sender:message-id; b=Oj1LcMf1m2teRaQIGV66qMO87IVr6Y9dTcyGO66cl3DY4BJCuReVWQOx9SEH1ODVCU mX4mpAk/R2htIyhov8xPlr0o9Uj9fyGQuOUOiOzNtw4wZoLM4Ombztc82ubIiviaH9wb XXaefjPo4JN3FlAas27+/pEguPMLsaREljKkE=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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 {

<Prev in Thread] Current Thread [Next in Thread>