Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312142
b: refs/heads/master
c: f2b88d6
h: refs/heads/master
v: v3
  • Loading branch information
Yong Zhang authored and Ralf Baechle committed Jul 19, 2012
1 parent 3ac5b41 commit d700414
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b789ad63ac46b00f0862bdc23fc95556adc3cf2f
refs/heads/master: f2b88d65aa7adaa3996088e86ae497fe705e96f3
5 changes: 0 additions & 5 deletions trunk/arch/mips/kernel/sync-r4k.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ void __cpuinit synchronise_count_master(void)
void __cpuinit synchronise_count_slave(void)
{
int i;
unsigned long flags;
unsigned int initcount;
int ncpus;

Expand All @@ -123,8 +122,6 @@ void __cpuinit synchronise_count_slave(void)
return;
#endif

local_irq_save(flags);

/*
* Not every cpu is online at the time this gets called,
* so we first wait for the master to say everyone is ready
Expand Down Expand Up @@ -154,7 +151,5 @@ void __cpuinit synchronise_count_slave(void)
}
/* Arrange for an interrupt in a short while */
write_c0_compare(read_c0_count() + COUNTON);

local_irq_restore(flags);
}
#undef NR_LOOPS

0 comments on commit d700414

Please sign in to comment.