]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/random.c
nilfs2: another dat for garbage collection
[linux-2.6-omap-h63xx.git] / drivers / char / random.c
index 7c43ae782b26e385e1b0c96efacd7e82846b794b..f824ef8a9273d7d46e63b113fa83ea03249f95e1 100644 (file)
@@ -1488,7 +1488,8 @@ static void rekey_seq_generator(struct work_struct *work)
        keyptr->count = (ip_cnt & COUNT_MASK) << HASH_BITS;
        smp_wmb();
        ip_cnt++;
-       schedule_delayed_work(&rekey_work, REKEY_INTERVAL);
+       schedule_delayed_work(&rekey_work,
+                             round_jiffies_relative(REKEY_INTERVAL));
 }
 
 static inline struct keydata *get_keyptr(void)