Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c46a2f01 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

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: default avatarRalf Baechle <ralf@linux-mips.org>
Reported-by: default avatarChris Packham <judge.packham@gmail.com>
parent 82eb8f73
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1473,7 +1473,7 @@ do { \
 */
#define _read_32bit_cp1_register(source, gas_hardfloat)			\
({									\
	int __res;							\
	unsigned int __res;						\
									\
	__asm__ __volatile__(						\
	"	.set	push					\n"	\