CVSROOT: /home/cvs
Module name: linux
Changes by: ralf@ftp.linux-mips.org 05/08/20 14:58:43
Modified files:
arch/mips/kernel: smp_mt.c
Log message:
Fix syntax errors.
diff -urN linux/arch/mips/kernel/smp_mt.c linux/arch/mips/kernel/smp_mt.c
--- linux/arch/mips/kernel/smp_mt.c 2005/08/17 17:44:09 1.1
+++ linux/arch/mips/kernel/smp_mt.c 2005/08/20 13:58:43 1.2
@@ -153,15 +153,15 @@
}
static struct irqaction irq_resched = {
- .handler = ipi_resched_interrupt;
- .flags = SA_INTERRUPT;
- .name = "IPI_resched";
+ .handler = ipi_resched_interrupt,
+ .flags = SA_INTERRUPT,
+ .name = "IPI_resched"
};
-static struct irq_call = {
- .handler = ipi_call_interrupt;
- .flags = SA_INTERRUPT;
- .name = "IPI_call";
+static struct irqaction irq_call = {
+ .handler = ipi_call_interrupt,
+ .flags = SA_INTERRUPT,
+ .name = "IPI_call"
};
/*
@@ -287,7 +287,7 @@
void prom_boot_secondary(int cpu, struct task_struct *idle)
{
dvpe();
- write_c0_mvpcontrol( read_c0_mvpcontrol() | MVPCONTROL_VPC );
+ write_c0_mvpcontrol(read_c0_mvpcontrol() | MVPCONTROL_VPC);
settc(cpu);
@@ -300,13 +300,13 @@
write_tc_c0_tchalt(0);
/* enable the VPE */
- write_vpe_c0_vpeconf0( read_vpe_c0_vpeconf0() | VPECONF0_VPA);
+ write_vpe_c0_vpeconf0(read_vpe_c0_vpeconf0() | VPECONF0_VPA);
/* stack pointer */
- write_tc_gpr_sp( __KSTK_TOS(idle) );
+ write_tc_gpr_sp( __KSTK_TOS(idle));
/* global pointer */
- write_tc_gpr_gp( (unsigned long)idle->thread_info );
+ write_tc_gpr_gp((unsigned long)idle->thread_info);
flush_icache_range((unsigned long)idle->thread_info,
(unsigned long)idle->thread_info +
@@ -320,8 +320,8 @@
void prom_init_secondary(void)
{
- write_c0_status((read_c0_status() & ~ST0_IM )
- | (STATUSF_IP0 | STATUSF_IP1 | STATUSF_IP7));
+ write_c0_status((read_c0_status() & ~ST0_IM ) |
+ (STATUSF_IP0 | STATUSF_IP1 | STATUSF_IP7));
}
void prom_smp_finish(void)
|