[ARM] S3C: Do not kmalloc/kfree during inner suspend code.
authorBen Dooks <ben-linux@fluff.org>
Fri, 12 Dec 2008 00:24:34 +0000 (00:24 +0000)
committerBen Dooks <ben-linux@fluff.org>
Sun, 8 Mar 2009 13:19:54 +0000 (13:19 +0000)
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>

No differences found