kernel/arch/mips/kernel/sync-r4k.c
.. .. @@ -90,6 +90,9 @@ 90 90 void synchronise_count_slave(int cpu) 91 91 { 92 92 int i; 93 + unsigned long flags;94 +95 + local_irq_save(flags);93 96 94 97 /* 95 98 * Not every cpu is online at the time this gets called, .. .. @@ -113,5 +116,7 @@ 113 116 } 114 117 /* Arrange for an interrupt in a short while */ 115 118 write_c0_compare(read_c0_count() + COUNTON); 119 +120 + local_irq_restore(flags);116 121 } 117 122 #undef NR_LOOPS