[PATCH] MIPS: dsp: Fix DSP mask for registers.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[PATCH] MIPS: dsp: Fix DSP mask for registers.

Steven J. Hill-3
From: "Steven J. Hill" <[hidden email]>

The DSP bit mask for the rddsp and wrdsp instructions was wrong.

Signed-off-by: Steven J. Hill <[hidden email]>
 arch/mips/include/asm/dsp.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/include/asm/dsp.h b/arch/mips/include/asm/dsp.h
index e9bfc08..7bfad05 100644
--- a/arch/mips/include/asm/dsp.h
+++ b/arch/mips/include/asm/dsp.h
@@ -16,7 +16,7 @@
 #include <asm/mipsregs.h>
 #define DSP_DEFAULT 0x00000000
-#define DSP_MASK 0x3ff
+#define DSP_MASK 0x3f
 #define __enable_dsp_hazard() \
 do { \