From: Ben Dooks Date: Fri, 12 Dec 2008 00:24:34 +0000 (+0000) Subject: [ARM] S3C: Do not kmalloc/kfree during inner suspend code. X-Git-Tag: v2.6.30-rc1~636^2~7^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa8aba6944203a17a7e941b42d8415153c649660;p=pandora-kernel.git [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 --- Reading git-diff-tree failed