projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54d0a21
)
[MIPS] Atlas, Malta, SEAD: Don't disable interrupts in mips_time_init().
author
Ralf Baechle
<ralf@linux-mips.org>
Sun, 9 Jul 2006 21:27:23 +0000
(22:27 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 13 Jul 2006 20:26:18 +0000
(21:26 +0100)
By the time it's called from time_init interrupts are still disabled.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mips-boards/generic/time.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/mips-boards/generic/time.c
b/arch/mips/mips-boards/generic/time.c
index 8e846d175ee1930e6296dadd17784312581cfeeb..557bf961f36a34ad1f4b8e9484565abefbcd37de 100644
(file)
--- a/
arch/mips/mips-boards/generic/time.c
+++ b/
arch/mips/mips-boards/generic/time.c
@@
-228,9
+228,7
@@
unsigned long __init mips_rtc_get_time(void)
void __init mips_time_init(void)
{
- unsigned int est_freq, flags;
-
- local_irq_save(flags);
+ unsigned int est_freq;
/* Set Data mode - binary. */
CMOS_WRITE(CMOS_READ(RTC_CONTROL) | RTC_DM_BINARY, RTC_CONTROL);
@@
-241,8
+239,6
@@
void __init mips_time_init(void)
(est_freq%1000000)*100/1000000);
cpu_khz = est_freq / 1000;
-
- local_irq_restore(flags);
}
void __init plat_timer_setup(struct irqaction *irq)