[PATCH 2.5.69] suspend storing signed jiffies

Stephen Hemminger (shemminger@osdl.org)
Fri, 9 May 2003 16:05:05 -0700


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/