Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 374188
b: refs/heads/master
c: f414f13
h: refs/heads/master
v: v3
  • Loading branch information
Arnd Bergmann authored and Rob Herring committed Apr 11, 2013
1 parent e20e677 commit 70119a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 023796b9be3a77481cd5ee0b64a13a55bb0d5df4
refs/heads/master: f414f13f2fd0d8bb12a87268a55827cda771d42b
7 changes: 6 additions & 1 deletion trunk/arch/arm/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <linux/errno.h>
#include <linux/profile.h>
#include <linux/timer.h>
#include <linux/clocksource.h>
#include <linux/irq.h>

#include <asm/thread_info.h>
Expand Down Expand Up @@ -115,6 +116,10 @@ int __init register_persistent_clock(clock_access_fn read_boot,

void __init time_init(void)
{
machine_desc->init_time();
if (machine_desc->init_time)
machine_desc->init_time();
else
clocksource_of_init();

sched_clock_postinit();
}

0 comments on commit 70119a7

Please sign in to comment.