pm_call: only enable interrupts in PM if interrupts on in RM
authorH. Peter Anvin <hpa@zytor.com>
Wed, 13 May 2009 22:29:13 +0000 (15:29 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 13 May 2009 22:29:13 +0000 (15:29 -0700)
commit33ab12a0aa0b9551a3e13a230b88664e14614430
tree5079ed1d505c9bcb197fa4eecd350a3a4a709c4c
parent0e237970aed2ad802c965c8bd93c9a5a6d9a5a8d
pm_call: only enable interrupts in PM if interrupts on in RM

When executing pm_call, only enable interrupts in PM if we were called
with interrupts enabled in RM.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/pm.inc