android_kernel_xiaomi_sm8350/kernel/power
Rafael J. Wysocki 37b2ba12df [PATCH] swsusp: add ioctl for swap files support
To be able to use swap files as suspend storage from the userland suspend
tools we need an additional ioctl() that will allow us to provide the kernel
with both the swap header's offset and the identification of the resume
partition.

The new ioctl() should be regarded as a replacement for the
SNAPSHOT_SET_SWAP_FILE ioctl() that from now on will be considered as
obsolete, but has to stay for backwards compatibility of the interface.

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-12-07 08:39:27 -08:00
..
console.c
disk.c [PATCH] swsusp: add resume_offset command line parameter 2006-12-07 08:39:27 -08:00
Kconfig Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 2006-09-26 11:49:46 -07:00
main.c [PATCH] PM: Add pm_trace switch 2006-09-26 08:49:04 -07:00
Makefile [PATCH] Disable CPU hotplug during suspend 2006-09-26 08:48:59 -07:00
pm.c
power.h [PATCH] swsusp: add ioctl for swap files support 2006-12-07 08:39:27 -08:00
poweroff.c WorkStruct: Pass the work_struct pointer instead of context data 2006-11-22 14:55:48 +00:00
process.c [PATCH] Make suspend possible with a traced process at a breakpoint 2006-08-06 08:57:45 -07:00
snapshot.c [PATCH] namespaces: utsname: use init_utsname when appropriate 2006-10-02 07:57:21 -07:00
swap.c [PATCH] swsusp: add resume_offset command line parameter 2006-12-07 08:39:27 -08:00
swsusp.c [PATCH] swsusp: use block device offsets to identify swap locations 2006-12-07 08:39:27 -08:00
user.c [PATCH] swsusp: add ioctl for swap files support 2006-12-07 08:39:27 -08:00