Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32596
b: refs/heads/master
c: ece2246
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Jul 13, 2006
1 parent 20095c1 commit cf828be
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: 54d0a216f40e060ba4265bb851cc36b3ca55d1a8
refs/heads/master: ece2246ebda3d86cedb9414e7771862a6c9a054c
6 changes: 1 addition & 5 deletions trunk/arch/mips/mips-boards/generic/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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)
Expand Down

0 comments on commit cf828be

Please sign in to comment.