linux-stable-rt/kernel/power
Akinobu Mita 0d83304c7e pm: hibernation: simplify memory bitmap
This patch simplifies the memory bitmap manipulations.

- remove the member size in struct bm_block

It is not necessary for struct bm_block to have the number of bit chunks that
can be calculated by using end_pfn and start_pfn.

- use find_next_bit() for memory_bm_next_pfn

No need to invent the bitmap library only for the memory bitmap.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-24 10:47:23 -07:00
..
Kconfig pm: boot time suspend selftest 2008-07-24 10:47:22 -07:00
Makefile
console.c
disk.c Suspend-related patches for 2.6.27 2008-06-12 14:25:09 -07:00
main.c pm: boot time suspend selftest 2008-07-24 10:47:22 -07:00
power.h
poweroff.c
process.c Freezer: Introduce PF_FREEZER_NOSIG 2008-07-16 23:27:03 +02:00
snapshot.c pm: hibernation: simplify memory bitmap 2008-07-24 10:47:23 -07:00
swap.c
swsusp.c
user.c snapshot: Use pm_mutex for mutual exclusion 2008-07-16 23:27:03 +02:00