Rafael J. Wysocki 95018f7c94 [PATCH] swsusp: do not use memcpy for snapshotting memory
swsusp should not use memcpy for snapshotting memory, because on some
architectures memcpy may increase preempt_count (i386 does this when
CONFIG_X86_USE_3DNOW is set).  Then, as a result, wrong value of preempt_count
is stored in the image.

Replace memcpy in copy_data_pages with an open-coded loop.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-10 13:24:22 -07:00
..
2006-07-01 05:43:06 -04:00
2006-07-01 07:44:10 -04:00
2005-04-16 15:20:36 -07:00
2006-03-26 08:57:03 -08:00
2005-10-30 17:37:32 -08:00
2005-10-08 15:00:57 -07:00
2006-06-26 09:58:22 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:27:03 -07:00
2006-07-10 13:24:13 -07:00
2005-04-16 15:20:36 -07:00
2006-07-10 13:24:18 -07:00
2006-04-19 16:27:18 -07:00
2006-07-03 15:27:07 -07:00