lkml.org 
[lkml]   [2006]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2006-02-21 07:26    [W:0.049 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site