Hibernation: Correct definitions of some ioctls (rev. 2)
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 25 Oct 2007 23:03:33 +0000 (01:03 +0200)
committerLen Brown <len.brown@intel.com>
Fri, 1 Feb 2008 23:30:53 +0000 (18:30 -0500)
commitcc5d207c85b9a6fafebe2856ead0a9360978c8cd
tree1a7c45b4ffb44a02a76ccd60ec318c796687d568
parent96f737490cfc368fdafe49769f52fc8460f9349f
Hibernation: Correct definitions of some ioctls (rev. 2)

Three ioctl numbers belonging to the hibernation userland interface,
SNAPSHOT_ATOMIC_SNAPSHOT, SNAPSHOT_AVAIL_SWAP, SNAPSHOT_GET_SWAP_PAGE,
are defined in a wrong way (eg. not portable).  Provide new ioctl numbers for
these ioctls and mark the existing ones as deprecated.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
Documentation/power/userland-swsusp.txt
kernel/power/power.h
kernel/power/user.c