]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: DSP: Fix DSP mask for registers.
authorSteven J. Hill <sjhill@mips.com>
Fri, 7 Dec 2012 04:52:03 +0000 (22:52 -0600)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 24 Jan 2013 12:20:09 +0000 (13:20 +0100)
commitbcb8b5b543e47614d762f7b0dc58befef9b0ec45
tree48cff1cea7a764e657ffb55edc61df2cda0ae0fa
parenteb386bb56e1305651fb7b104cdaf6d2438deb84b
MIPS: DSP: Fix DSP mask for registers.

The DSP bit mask for the RDDSP and WRDSP instructions was wrong.

[ralf@linux-mips.org: The mask field of the RDDSP and WRDSP instructions
is 10 bits long.  DSP_MASK had all these fields which according to the
architecture specification may result in UNPREDICTABLE operation.]

Signed-off-by: Steven J. Hill <sjhill@mips.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/4683/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/dsp.h