diff options
author | 2008-12-12 00:24:34 +0000 | |
---|---|---|
committer | 2009-03-08 13:19:54 +0000 | |
commit | aa8aba6944203a17a7e941b42d8415153c649660 (patch) | |
tree | 83b96dda96383f02c2c7be746e3e71e183e9271d /drivers/rtc/rtc-generic.c | |
parent | [ARM] S3C: Avoid checking the task stackpage in pm-check (diff) | |
download | linux-rng-aa8aba6944203a17a7e941b42d8415153c649660.tar.xz linux-rng-aa8aba6944203a17a7e941b42d8415153c649660.zip |
[ARM] S3C: Do not kmalloc/kfree during inner suspend code.
The PM CRC checking code kmallocs an area to save a set of
CRC values during suspend. This triggers a warning due to the
call of a function that might sleep whilst the system is not
in a valid state to do so.
Move the allocation and free to points in the suspend and resume
process where they can call a function that might-sleep.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/rtc/rtc-generic.c')
0 files changed, 0 insertions, 0 deletions