]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/time/ntp.c
[ARM] 4479/1: AT91: Define new MMC register bits
[linux-2.6-omap-h63xx.git] / kernel / time / ntp.c
index 87aa5ff931e0aa63aba54ed98be8b43c38cf411d..438c6b723ee202bd3a22607f2ebf7d4b031d1f6b 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/timex.h>
 #include <linux/jiffies.h>
 #include <linux/hrtimer.h>
-
+#include <linux/capability.h>
 #include <asm/div64.h>
 #include <asm/timex.h>
 
@@ -122,7 +122,6 @@ void second_overflow(void)
                         */
                        time_interpolator_update(-NSEC_PER_SEC);
                        time_state = TIME_OOP;
-                       clock_was_set();
                        printk(KERN_NOTICE "Clock: inserting leap second "
                                        "23:59:60 UTC\n");
                }
@@ -137,7 +136,6 @@ void second_overflow(void)
                         */
                        time_interpolator_update(NSEC_PER_SEC);
                        time_state = TIME_WAIT;
-                       clock_was_set();
                        printk(KERN_NOTICE "Clock: deleting leap second "
                                        "23:59:59 UTC\n");
                }