diff options
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 */ |