projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b789ad6
)
MIPS: sync-r4k: remove redundant irq operation
author
Yong Zhang
<
[email protected]
>
Thu, 19 Jul 2012 07:13:54 +0000
(09:13 +0200)
committer
Ralf Baechle
<
[email protected]
>
Thu, 19 Jul 2012 09:23:44 +0000
(11:23 +0200)
Since we have delayed irq enabling to ->smp_finish()
Signed-off-by: Yong Zhang <
[email protected]
>
Cc: Sergei Shtylyov <
[email protected]
>
Cc: David Daney <
[email protected]
>
Acked-by: David Daney <
[email protected]
>
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/kernel/sync-r4k.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/sync-r4k.c
b/arch/mips/kernel/sync-r4k.c
index 99f913c8d7a6eb3e4db9ac2f7b8def493a4e5e5e..842d55e411fd396479b611ba0a1c0c2af2d4cb92 100644
(file)
--- a/
arch/mips/kernel/sync-r4k.c
+++ b/
arch/mips/kernel/sync-r4k.c
@@
-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;
@@
-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
@@
-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