]> git.baikalelectronics.ru Git - kernel.git/commit
PM: Add empty suspend/resume device irq functions
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 11 Jun 2009 19:59:21 +0000 (21:59 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 12 Jun 2009 19:32:33 +0000 (21:32 +0200)
commit63f39bb06c3ae913c000daa3b6732dcc4e185ef4
treee6928374858c50bf8c1d10c904550e76c5dae982
parentce341b0c4abd123bad5aae37a7d8b93c3bb42117
PM: Add empty suspend/resume device irq functions

git commit f970dd35 "PM: Introduce functions for suspending and resuming
device interrupts" introduced some helper functions. However these
functions are only available for architectures which support
GENERIC_HARDIRQS.

Other architectures will see this build error:

drivers/built-in.o: In function `sysdev_suspend':
(.text+0x15138): undefined reference to `check_wakeup_irqs'
drivers/built-in.o: In function `device_power_up':
(.text+0x1cb66): undefined reference to `resume_device_irqs'
drivers/built-in.o: In function `device_power_down':
(.text+0x1cb92): undefined reference to `suspend_device_irqs'

To fix this add some empty inline functions for !GENERIC_HARDIRQS.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
include/linux/interrupt.h