]> git.baikalelectronics.ru Git - kernel.git/commit
PM / sleep: handle the compat case in snapshot_set_swap_area()
authorChristoph Hellwig <hch@lst.de>
Mon, 6 Apr 2020 11:58:35 +0000 (13:58 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Apr 2020 19:42:36 +0000 (21:42 +0200)
commit9bcf9d38b9dc7152e14397c98775b3a259d6769e
treef78a3b5bf538b08ec16c562a6fa00fd2bccef4b8
parent41b7940ed89b7fe0e722fd3f0d1e669ee88866e0
PM / sleep: handle the compat case in snapshot_set_swap_area()

Use in_compat_syscall to copy directly from the 32-bit ABI structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/user.c