swsusp also stores system clock

From: Rajsekar
Date: Sun May 16 2004 - 23:31:58 EST



I started liking swsusp so much that I dont shutdown my system anymore, I
just suspend. Is this wrong?

But I noticed that the clock also gets saved and when I resume my system,
the clock is annoyingly wrong. I suppose that this is done on purpose for
some reasons by the developers.

Currently, I use hwclock to set my system clock on resume.

Is there a better way or a patch ?

--
M Rajsekar
IIT Madras

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/