aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/ptrace.c2
-rw-r--r--arch/mips/kernel/smtc.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c
index 35234b92b9a5..96ffc9c6d194 100644
--- a/arch/mips/kernel/ptrace.c
+++ b/arch/mips/kernel/ptrace.c
@@ -238,7 +238,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
238 case FPC_EIR: { /* implementation / version register */ 238 case FPC_EIR: { /* implementation / version register */
239 unsigned int flags; 239 unsigned int flags;
240#ifdef CONFIG_MIPS_MT_SMTC 240#ifdef CONFIG_MIPS_MT_SMTC
241 unsigned int irqflags; 241 unsigned long irqflags;
242 unsigned int mtflags; 242 unsigned int mtflags;
243#endif /* CONFIG_MIPS_MT_SMTC */ 243#endif /* CONFIG_MIPS_MT_SMTC */
244 244
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)
556void __cpuinit smtc_boot_secondary(int cpu, struct task_struct *idle) 556void __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