Messages in this thread Patch in this message | | | Date | Mon, 20 Feb 2006 23:21:53 -0700 | From | john stultz <> | Subject | [-mm PATCH 8/11] Time: i386 conversion part 3 - remove nsec_t |
| |
Removes nsec_t usage as suggested by Roman Zippel
Signed-off-by: John Stultz <johnstul@us.ibm.com>
arch/i386/kernel/time.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Index: mm-merge/arch/i386/kernel/time.c =================================================================== --- mm-merge.orig/arch/i386/kernel/time.c +++ mm-merge/arch/i386/kernel/time.c @@ -223,9 +223,9 @@ unsigned long get_cmos_time(void) EXPORT_SYMBOL(get_cmos_time); /* arch specific timeofday hooks */ -nsec_t read_persistent_clock(void) +s64 read_persistent_clock(void) { - return (nsec_t)get_cmos_time() * NSEC_PER_SEC; + return (s64)get_cmos_time() * NSEC_PER_SEC; } void sync_persistent_clock(struct timespec ts) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |