summaryrefslogtreecommitdiffstats
path: root/net/rfkill/input.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-05-10 21:09:53 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2011-05-11 21:10:14 +0200
commit87186475a402391a1ca7d42a675c9b35a18dc348 (patch)
tree01b52ab26eb3b4fed09ca7fb11da4fcc1dddb32a /net/rfkill/input.c
parent54b333529df25b21da462c7dcc16c7dc779d9f26 (diff)
downloadblackbird-op-linux-87186475a402391a1ca7d42a675c9b35a18dc348.tar.gz
blackbird-op-linux-87186475a402391a1ca7d42a675c9b35a18dc348.zip
PM: Fix warning in pm_restrict_gfp_mask() during SNAPSHOT_S2RAM ioctl
A warning is printed by pm_restrict_gfp_mask() while the SNAPSHOT_S2RAM ioctl is being executed after creating a hibernation image, because pm_restrict_gfp_mask() has been called once already before the image creation and suspend_devices_and_enter() calls it once again. This happens after commit 452aa6999e6703ffbddd7f6ea124d3 (mm/pm: force GFP_NOIO during suspend/hibernation and resume). To avoid this issue, move pm_restrict_gfp_mask() and pm_restore_gfp_mask() from suspend_devices_and_enter() to its caller in kernel/power/suspend.c. Reported-by: Alexandre Felipe Muller de Souza <alexandrefm@mandriva.com.br> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Cc: stable@kernel.org
Diffstat (limited to 'net/rfkill/input.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud