| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] MIPS: dsp: Fix DSP mask for registers. |
| From: | "Steven J. Hill" <sjhill@mips.com> |
| Date: | Thu, 6 Dec 2012 22:52:03 -0600 |
| Cc: | "Steven J. Hill" <sjhill@mips.com>, ralf@linux-mips.org |
| 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> |
| Sender: | linux-mips-bounce@linux-mips.org |
From: "Steven J. Hill" <sjhill@mips.com>
The DSP bit mask for the rddsp and wrdsp instructions was wrong.
Signed-off-by: Steven J. Hill <sjhill@mips.com>
---
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 { \
--
1.7.9.5
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] MIPS: Add support for the M14KEc core., Steven J. Hill |
|---|---|
| Next by Date: | [PATCH] MIPS: microMIPS: Add breakpoints., Steven J. Hill |
| Previous by Thread: | [PATCH] MIPS: Add support for the M14KEc core., Steven J. Hill |
| Next by Thread: | [PATCH] MIPS: microMIPS: Add breakpoints., Steven J. Hill |
| Indexes: | [Date] [Thread] [Top] [All Lists] |