diff options
| author | Rafael J. Wysocki <[email protected]> | 2006-07-10 04:45:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-07-10 13:24:22 -0700 |
| commit | 95018f7c94cbe4e78fc014b6ce52004714c06e2a (patch) | |
| tree | 2f8434103bc670813120e6d64b1726301a6021ac /include/linux | |
| parent | 7ba1c6c88c945b065a75094830f6b76f414e42ad (diff) | |
[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 <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions