diff options
author | 2009-06-11 21:59:21 +0200 | |
---|---|---|
committer | 2009-06-12 21:32:33 +0200 | |
commit | 5818a6e2519b34cd6d0220d89f5729ab2725e1bf (patch) | |
tree | e6928374858c50bf8c1d10c904550e76c5dae982 /arch/x86/kernel/cpu/proc.c | |
parent | PM/Hibernate: Move NVS routines into a seperate file (v2). (diff) | |
download | wireguard-linux-5818a6e2519b34cd6d0220d89f5729ab2725e1bf.tar.xz wireguard-linux-5818a6e2519b34cd6d0220d89f5729ab2725e1bf.zip |
PM: Add empty suspend/resume device irq functions
git commit 0a0c5168 "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>
Diffstat (limited to 'arch/x86/kernel/cpu/proc.c')
0 files changed, 0 insertions, 0 deletions