提交 c46a2f01 编写于 作者: R Ralf Baechle

MIPS: Treat CP1 control registers as unsigned ints.

These are bitfields and treating them as signed values doesn't make
any sense.
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
Reported-by: NChris Packham <judge.packham@gmail.com>
上级 82eb8f73
......@@ -1473,7 +1473,7 @@ do { \
*/
#define _read_32bit_cp1_register(source, gas_hardfloat) \
({ \
int __res; \
unsigned int __res; \
\
__asm__ __volatile__( \
" .set push \n" \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册