alpha: Fix uninitialized value in read_persistent_clock.
[pandora-kernel.git] / arch / alpha / kernel / time.c
index a58e84f..918e8e0 100644 (file)
@@ -153,6 +153,7 @@ void read_persistent_clock(struct timespec *ts)
                year += 100;
 
        ts->tv_sec = mktime(year, mon, day, hour, min, sec);
+       ts->tv_nsec = 0;
 }