summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-10-01 21:52:41 +0100
committerRalf Baechle <ralf@linux-mips.org>2008-10-03 17:58:56 +0100
commitb7e4226e4f427b59dc8e9c45a2a1a1ed1353a140 (patch)
treef2d3286896807f0b8f16e94c4d09d0bcd6240315 /include
parent95b866d5afcafee00fc9ad70665e48c86d8c4e0f (diff)
downloadlinux-b7e4226e4f427b59dc8e9c45a2a1a1ed1353a140.tar.gz
linux-b7e4226e4f427b59dc8e9c45a2a1a1ed1353a140.tar.bz2
linux-b7e4226e4f427b59dc8e9c45a2a1a1ed1353a140.zip
[MIPS] Build fix: Fix irq flags type
Though from a hardware perspective it would be sensible to use only a 32-bit unsigned int type Linux defines interrupt flags to be stored in an unsigned long and nothing else. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/mipsregs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-mips/mipsregs.h b/include/asm-mips/mipsregs.h
index a46f8e258e6b..979866000da4 100644
--- a/include/asm-mips/mipsregs.h
+++ b/include/asm-mips/mipsregs.h
@@ -1462,7 +1462,7 @@ set_c0_##name(unsigned int set) \
{ \
unsigned int res; \
unsigned int omt; \
- unsigned int flags; \
+ unsigned long flags; \
\
local_irq_save(flags); \
omt = __dmt(); \
@@ -1480,7 +1480,7 @@ clear_c0_##name(unsigned int clear) \
{ \
unsigned int res; \
unsigned int omt; \
- unsigned int flags; \
+ unsigned long flags; \
\
local_irq_save(flags); \
omt = __dmt(); \
@@ -1498,7 +1498,7 @@ change_c0_##name(unsigned int change, unsigned int new) \
{ \
unsigned int res; \
unsigned int omt; \
- unsigned int flags; \
+ unsigned long flags; \
\
local_irq_save(flags); \
\