linux-mips
[Top] [All Lists]

[PATCH 02/10] MIPS: inst.h: define missing microMIPS POOL32AXf ops

To: <linux-mips@linux-mips.org>
Subject: [PATCH 02/10] MIPS: inst.h: define missing microMIPS POOL32AXf ops
From: Paul Burton <paul.burton@imgtec.com>
Date: Wed, 15 Jan 2014 13:55:29 +0000
Cc: Paul Burton <paul.burton@imgtec.com>
In-reply-to: <1389794137-11361-1-git-send-email-paul.burton@imgtec.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1389794137-11361-1-git-send-email-paul.burton@imgtec.com>
Sender: linux-mips-bounce@linux-mips.org
The opcodes for the sync & wait instructions within POOL32AXf were
missing. This patch adds them for use by a subsequent patch.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
---
 arch/mips/include/uapi/asm/inst.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/include/uapi/asm/inst.h 
b/arch/mips/include/uapi/asm/inst.h
index b4a24bd..203f28b 100644
--- a/arch/mips/include/uapi/asm/inst.h
+++ b/arch/mips/include/uapi/asm/inst.h
@@ -295,7 +295,9 @@ enum mm_32axf_minor_op {
        mm_tlbwr_op = 0x0cd,
        mm_jalrs_op = 0x13c,
        mm_jalrshb_op = 0x17c,
+       mm_sync_op = 0x1ad,
        mm_syscall_op = 0x22d,
+       mm_wait_op = 0x24d,
        mm_eret_op = 0x3cd,
 };
 
-- 
1.8.4.2



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