Blackfin: pm: drop irq save/restore in standby and suspend to mem callback
authorSteven Miao <realmz6@gmail.com>
Wed, 3 Nov 2010 09:25:09 +0000 (09:25 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2011 12:18:18 +0000 (07:18 -0500)
commit36e11ab23e22243b9c608a08c8d68ca5686b6c9b
treec9cefc5f21879aac1d58ae88e52584a64f26df38
parent527a1a83cc1ba4fc3e0f708cff062b834fbbcab9
Blackfin: pm: drop irq save/restore in standby and suspend to mem callback

Since linux-2.6.31, the kernel suspend framework will do disable_irq/enable_irq,
so save/restore irq in standby and suspend to mem callback should be dropped.
Otherwise the common code notices things are enabled and complains.

Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-common/pm.c