summaryrefslogtreecommitdiffstats
path: root/drivers/md/linear.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-05-02 16:12:00 +1000
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-02 08:15:22 -0700
commite521dca64e0f82d844928c5ee88d82fdced50cbe (patch)
treec894a71c7d1a22e6c814f202532ec55616665adb /drivers/md/linear.c
parent6995f17a5ab3c3fd4df2e5b107d08cff1db3fa41 (diff)
downloadblackbird-op-linux-e521dca64e0f82d844928c5ee88d82fdced50cbe.tar.gz
blackbird-op-linux-e521dca64e0f82d844928c5ee88d82fdced50cbe.zip
[PATCH] ppc32: Fix might_sleep() warning with clock spreading
The clock spreading disable/enable code was called to late/early during the suspend/resume code on some laptops and would trigger a might_sleep() warning due to the down() call in the low level i2c code. This fixes it by calling those functions earlier/later when interrupts are still enabled. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/linear.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud