[FIX] time format: nsec:sec -> sec:nsec
authorNikita Kalyazin <n.kalyazin@samsung.com>
Sat, 13 Jul 2013 11:17:20 +0000 (15:17 +0400)
committerNikita Kalyazin <n.kalyazin@samsung.com>
Sat, 13 Jul 2013 11:17:20 +0000 (15:17 +0400)
driver/msg/swap_msg.c

index 6510677..de85fd8 100644 (file)
@@ -50,7 +50,7 @@ static char *get_current_buf(void)
 
 static inline u64 timespec2time(struct timespec *ts)
 {
-       return ((u64)ts->tv_sec) << 32 | ts->tv_nsec;
+       return ((u64)ts->tv_nsec) << 32 | ts->tv_sec;
 }