summaryrefslogtreecommitdiff
path: root/kernel/rcupreempt.c
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2008-08-20 16:37:28 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-24 16:36:24 -0800
commit474f010c78f1d28555971937c1e61688823cb4d1 (patch)
treef3be69e983817bff82ce317bee7269aff74a1a0b /kernel/rcupreempt.c
parentdeee735544d5b34ad4a42ac19abacbfa4d9493f1 (diff)
clocksource: introduce clocksource_forward_now()
commit 9a055117d3d9cb562f83f8d4cd88772761f4cab0 upstream. To keep the raw monotonic patch simple first introduce clocksource_forward_now(), which takes care of the offset since the last update_wall_time() call and adds it to the clock, so there is no need anymore to deal with it explicitly at various places, which need to make significant changes to the clock. This is also gets rid of the timekeeping_suspend_nsecs, instead of waiting until resume, the value is accumulated during suspend. In the end there is only a single user of __get_nsec_offset() left, so I integrated it back to getnstimeofday(). Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/rcupreempt.c')
0 files changed, 0 insertions, 0 deletions