Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73924
b: refs/heads/master
c: 526a677
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Nov 26, 2007
1 parent f2886b0 commit 60cac13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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: aea6863944efdf42b7de96e71545e0ce4c317a1f
refs/heads/master: 526a6770692477ff258621b1b8838cce9304f8e4
6 changes: 1 addition & 5 deletions trunk/arch/mips/mipssim/sim_time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -114,6 +112,4 @@ void __init plat_time_init(void)
(est_freq % 1000000) * 100 / 1000000);

cpu_khz = est_freq / 1000;

local_irq_restore(flags);
}

0 comments on commit 60cac13

Please sign in to comment.