git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge ../linus
[pandora-kernel.git]
/
arch
/
um
/
kernel
/
time_kern.c
diff --git
a/arch/um/kernel/time_kern.c
b/arch/um/kernel/time_kern.c
index
528cf62
..
87cdbc5
100644
(file)
--- a/
arch/um/kernel/time_kern.c
+++ b/
arch/um/kernel/time_kern.c
@@
-84,6
+84,16
@@
void timer_irq(union uml_pt_regs *regs)
}
}
+
+void time_init_kern(void)
+{
+ long long nsecs;
+
+ nsecs = os_nsecs();
+ set_normalized_timespec(&wall_to_monotonic, -nsecs / BILLION,
+ -nsecs % BILLION);
+}
+
void do_boot_timer_handler(struct sigcontext * sc)
{
struct pt_regs regs;