[PATCH 2.5.69] suspend storing signed jiffies

From: Stephen Hemminger (shemminger@osdl.org)
Date: Fri May 09 2003 - 18:05:05 EST


Gets rid of warning because of using jiffies in int.

diff -Nru a/kernel/suspend.c b/kernel/suspend.c
--- a/kernel/suspend.c Fri May 9 15:54:51 2003
+++ b/kernel/suspend.c Fri May 9 15:54:51 2003
@@ -201,7 +201,8 @@
 /* 0 = success, else # of processes that we failed to stop */
 int freeze_processes(void)
 {
- int todo, start_time;
+ int todo;
+ unsigned long start_time;
         struct task_struct *g, *p;
         
         printk( "Stopping tasks: " );
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:32 EST