Removes nsec_t usage as suggested by Roman Zippel
Signed-off-by: John Stultz <[email protected]>
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]