[-mm PATCH 8/11] Time: i386 conversion part 3 - remove nsec_t

From: john stultz
Date: Tue Feb 21 2006 - 01:22:11 EST


Removes nsec_t usage as suggested by Roman Zippel

Signed-off-by: John Stultz <johnstul@xxxxxxxxxx>


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/