Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146611
b: refs/heads/master
c: eaab891
h: refs/heads/master
i:
  146609: 0435ced
  146607: d3ab0d7
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Apr 19, 2009
1 parent ad1975a commit e9c3a29
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e475eedb09ee9a0fd855f3e923aa9af31c17d141
refs/heads/master: eaab89197b733d0f81f07d6c44294b674479fda8
9 changes: 9 additions & 0 deletions trunk/arch/sh/kernel/time_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <linux/sched.h>
#include <linux/clockchips.h>
#include <linux/mc146818rtc.h> /* for rtc_lock */
#include <linux/platform_device.h>
#include <linux/smp.h>
#include <asm/clock.h>
#include <asm/rtc.h>
Expand Down Expand Up @@ -228,6 +229,14 @@ void __init time_init(void)
local_timer_setup(smp_processor_id());
#endif

/*
* Make sure all compiled-in early timers register themselves.
* Run probe() for one "earlytimer" device.
*/
early_platform_driver_register_all("earlytimer");
if (early_platform_driver_probe("earlytimer", 1, 0))
return;

/*
* Find the timer to use as the system timer, it will be
* initialized for us.
Expand Down

0 comments on commit e9c3a29

Please sign in to comment.