commit | aa8aba6944203a17a7e941b42d8415153c649660 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Fri Dec 12 00:24:34 2008 +0000 |
committer | Ben Dooks <ben-linux@fluff.org> | Sun Mar 08 13:19:54 2009 +0000 |
tree | 83b96dda96383f02c2c7be746e3e71e183e9271d | |
parent | 663a83048c602d5176c23489b4e29598d753e42b [diff] |
[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>