kernel-ark/kernel/power
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
..
console.c [PATCH] Fix build failure in recent pm_prepare_* changes. 2006-02-07 16:12:33 -08:00
disk.c [PATCH] constify parts of kernel/power/ 2006-06-25 10:01:08 -07:00
Kconfig remove obsolete swsusp_encrypt 2006-06-30 18:59:59 +02:00
main.c [PATCH] constify parts of kernel/power/ 2006-06-25 10:01:08 -07:00
Makefile [PATCH] swsusp: userland interface 2006-03-23 07:38:07 -08:00
pm.c [PATCH] remove kernel/power/pm.c:pm_unregister() 2006-04-14 12:25:26 -07:00
power.h Revert "swsusp special saveable pages support" commits 2006-06-25 18:41:00 -07:00
poweroff.c [PATCH] Use kernel_power_off in sysrq-o 2005-07-26 14:35:43 -07:00
process.c [PATCH] Fix suspend with traced tasks 2006-03-31 12:18:50 -08:00
smp.c [PATCH] Check if cpu can be onlined before calling smp_prepare_cpu() 2006-03-25 08:23:01 -08:00
snapshot.c [PATCH] swsusp: do not use memcpy for snapshotting memory 2006-07-10 13:24:22 -07:00
swap.c [PATCH] swswsup: return correct load_image error 2006-03-26 08:56:55 -08:00
swsusp.c Revert "swsusp special saveable pages support" commits 2006-06-25 18:41:00 -07:00
user.c [PATCH] swsusp: add s2ram ioctl to userland interface 2006-03-23 07:38:08 -08:00