diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-06 16:18:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-06 16:18:29 -0400 |
commit | b62ad9ab181a67207a4c8c373461b587c4861a68 (patch) | |
tree | ace1572964d81f5f9bbc10b7960c1f742832d744 /arch/ia64 | |
parent | af390084359a5de20046c901529b2b6a50b941cb (diff) | |
parent | b29230769e3482bbd62a07d6d9485371ee66a18f (diff) |
Merge branch 'timers-timekeeping-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'timers-timekeeping-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
um: Fix read_persistent_clock fallout
kgdb: Do not access xtime directly
powerpc: Clean up obsolete code relating to decrementer and timebase
powerpc: Rework VDSO gettimeofday to prevent time going backwards
clocksource: Add __clocksource_updatefreq_hz/khz methods
x86: Convert common clocksources to use clocksource_register_hz/khz
timekeeping: Make xtime and wall_to_monotonic static
hrtimer: Cleanup direct access to wall_to_monotonic
um: Convert to use read_persistent_clock
timkeeping: Fix update_vsyscall to provide wall_to_monotonic offset
powerpc: Cleanup xtime usage
powerpc: Simplify update_vsyscall
time: Kill off CONFIG_GENERIC_TIME
time: Implement timespec_add
x86: Fix vtime/file timestamp inconsistencies
Trivial conflicts in Documentation/feature-removal-schedule.txt
Much less trivial conflicts in arch/powerpc/kernel/time.c resolved as
per Thomas' earlier merge commit 47916be4e28c ("Merge branch
'powerpc.cherry-picks' into timers/clocksource")
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/Kconfig | 4 | ||||
-rw-r--r-- | arch/ia64/kernel/time.c | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 95610820041e..8711d13cd79f 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -82,10 +82,6 @@ config GENERIC_CALIBRATE_DELAY | |||
82 | bool | 82 | bool |
83 | default y | 83 | default y |
84 | 84 | ||
85 | config GENERIC_TIME | ||
86 | bool | ||
87 | default y | ||
88 | |||
89 | config GENERIC_TIME_VSYSCALL | 85 | config GENERIC_TIME_VSYSCALL |
90 | bool | 86 | bool |
91 | default y | 87 | default y |
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c index 653b3c46ea82..ed6f22eb5b12 100644 --- a/arch/ia64/kernel/time.c +++ b/arch/ia64/kernel/time.c | |||
@@ -471,7 +471,8 @@ void update_vsyscall_tz(void) | |||
471 | { | 471 | { |
472 | } | 472 | } |
473 | 473 | ||
474 | void update_vsyscall(struct timespec *wall, struct clocksource *c, u32 mult) | 474 | void update_vsyscall(struct timespec *wall, struct timespec *wtm, |
475 | struct clocksource *c, u32 mult) | ||
475 | { | 476 | { |
476 | unsigned long flags; | 477 | unsigned long flags; |
477 | 478 | ||
@@ -487,9 +488,9 @@ void update_vsyscall(struct timespec *wall, struct clocksource *c, u32 mult) | |||
487 | /* copy kernel time structures */ | 488 | /* copy kernel time structures */ |
488 | fsyscall_gtod_data.wall_time.tv_sec = wall->tv_sec; | 489 | fsyscall_gtod_data.wall_time.tv_sec = wall->tv_sec; |
489 | fsyscall_gtod_data.wall_time.tv_nsec = wall->tv_nsec; | 490 | fsyscall_gtod_data.wall_time.tv_nsec = wall->tv_nsec; |
490 | fsyscall_gtod_data.monotonic_time.tv_sec = wall_to_monotonic.tv_sec | 491 | fsyscall_gtod_data.monotonic_time.tv_sec = wtm->tv_sec |
491 | + wall->tv_sec; | 492 | + wall->tv_sec; |
492 | fsyscall_gtod_data.monotonic_time.tv_nsec = wall_to_monotonic.tv_nsec | 493 | fsyscall_gtod_data.monotonic_time.tv_nsec = wtm->tv_nsec |
493 | + wall->tv_nsec; | 494 | + wall->tv_nsec; |
494 | 495 | ||
495 | /* normalize */ | 496 | /* normalize */ |