Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=526a6770692477ff258621b1b8838cce9304f8e4 Commit: 526a6770692477ff258621b1b8838cce9304f8e4 Parent: aea6863944efdf42b7de96e71545e0ce4c317a1f Author: Ralf Baechle <[EMAIL PROTECTED]> AuthorDate: Tue Oct 30 15:39:18 2007 +0000 Committer: Ralf Baechle <[EMAIL PROTECTED]> CommitDate: Mon Nov 26 17:26:13 2007 +0000
[MIPS] time: MIPSsim's plat_time_init doesn't need to be irq safe. It's running early during the bootup process so interrupts are still off. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- arch/mips/mipssim/sim_time.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/arch/mips/mipssim/sim_time.c b/arch/mips/mipssim/sim_time.c index bfaafa3..e39bbe9 100644 --- a/arch/mips/mipssim/sim_time.c +++ b/arch/mips/mipssim/sim_time.c @@ -101,9 +101,7 @@ unsigned __init get_c0_compare_int(void) void __init plat_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); @@ -114,6 +112,4 @@ void __init plat_time_init(void) (est_freq % 1000000) * 100 / 1000000); cpu_khz = est_freq / 1000; - - local_irq_restore(flags); } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html