• Ben Dooks's avatar
    [ARM] S3C: Do not kmalloc/kfree during inner suspend code. · aa8aba69
    Ben Dooks authored
    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: default avatarBen Dooks <ben-linux@fluff.org>
    aa8aba69
pm.c 8.36 KB