diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-10-01 16:52:41 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-10-03 12:58:56 -0400 |
commit | b7e4226e4f427b59dc8e9c45a2a1a1ed1353a140 (patch) | |
tree | f2d3286896807f0b8f16e94c4d09d0bcd6240315 /arch/mips/kernel/smtc.c | |
parent | 95b866d5afcafee00fc9ad70665e48c86d8c4e0f (diff) |
[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 'arch/mips/kernel/smtc.c')
-rw-r--r-- | arch/mips/kernel/smtc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c index a516286532ab..05f2708a9029 100644 --- a/arch/mips/kernel/smtc.c +++ b/arch/mips/kernel/smtc.c | |||
@@ -556,7 +556,7 @@ void mipsmt_prepare_cpus(void) | |||
556 | void __cpuinit smtc_boot_secondary(int cpu, struct task_struct *idle) | 556 | void __cpuinit smtc_boot_secondary(int cpu, struct task_struct *idle) |
557 | { | 557 | { |
558 | extern u32 kernelsp[NR_CPUS]; | 558 | extern u32 kernelsp[NR_CPUS]; |
559 | long flags; | 559 | unsigned long flags; |
560 | int mtflags; | 560 | int mtflags; |
561 | 561 | ||
562 | LOCK_MT_PRA(); | 562 | LOCK_MT_PRA(); |
@@ -753,7 +753,7 @@ void smtc_send_ipi(int cpu, int type, unsigned int action) | |||
753 | { | 753 | { |
754 | int tcstatus; | 754 | int tcstatus; |
755 | struct smtc_ipi *pipi; | 755 | struct smtc_ipi *pipi; |
756 | long flags; | 756 | unsigned long flags; |
757 | int mtflags; | 757 | int mtflags; |
758 | 758 | ||
759 | if (cpu == smp_processor_id()) { | 759 | if (cpu == smp_processor_id()) { |
@@ -975,7 +975,7 @@ static irqreturn_t ipi_interrupt(int irq, void *dev_idm) | |||
975 | struct smtc_ipi *pipi; | 975 | struct smtc_ipi *pipi; |
976 | unsigned long tcstatus; | 976 | unsigned long tcstatus; |
977 | int sent; | 977 | int sent; |
978 | long flags; | 978 | unsigned long flags; |
979 | unsigned int mtflags; | 979 | unsigned int mtflags; |
980 | unsigned int vpflags; | 980 | unsigned int vpflags; |
981 | 981 | ||