• Patrick Mochel's avatar
    [power] Minor swsusp cleanups. · 5847d6c1
    Patrick Mochel authored
    - Call blk_run_queues() from do_software_suspend() directly, instead of 
      wrapping it in helper function.
    - Get rid of ominous compiler warning. 
    - Change BUG_ON(in_interrupt()) to might_sleep() in software_suspend(), so
      we still get back trace, but don't actually BUG().
    
    Orginally from Pavel Machek.
    5847d6c1
swsusp.c 30.9 KB