HACK: ARM: disable sleeping while atomic warning in do_signal
authorColin Cross <ccross@android.com>
Wed, 15 Aug 2012 20:10:04 +0000 (13:10 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Tue, 18 Sep 2012 08:24:34 +0000 (13:24 +0530)
commitd7ff3f472bf86ee7565f16fe6ad5ed777662d84d
tree29829690e6bcf97368382b122474bf530c9b89cf
parent5fd8813daad218f099197309dec6c5d826477618
HACK: ARM: disable sleeping while atomic warning in do_signal

ARM disables interrupts in do_signal, which triggers a warning in
try_to_freeze, see details at https://lkml.org/lkml/2011/8/23/221.
To prevent the warnings, add try_to_freeze_nowarn and call it from
do_signal.

Change-Id: If7482de21c386adc705fa1ac4ecb8c7ece5bb356
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/kernel/signal.c
include/linux/freezer.h
kernel/signal.c