ba1aedafeb
Including linux/interrupt.h in linux/hrtimer.h causes this error message
on PowerPC builds on x86, ARM and MIPS it works:
CC [M] /backports-4.14-rc2-1/compat/main.o
In file included from /backports-4.14-rc2-1/backport-include/linux/printk.h:5:0,
from ./include/linux/kernel.h:13,
from /backports-4.14-rc2-1/backport-include/linux/kernel.h:3,
from ./include/linux/list.h:8,
from /backports-4.14-rc2-1/backport-include/linux/list.h:3,
from ./include/linux/module.h:9,
from /backports-4.14-rc2-1/backport-include/linux/module.h:3,
from /backports-4.14-rc2-1/compat/main.c:1:
./include/linux/ratelimit.h: In function 'ratelimit_state_exit':
./include/linux/ratelimit.h:62:11: error: dereferencing pointer to incomplete type 'struct task_struct'
current->comm, rs->missed);
^
./include/linux/printk.h:279:37: note: in definition of macro 'pr_warning'
printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
^
./include/linux/ratelimit.h:61:3: note: in expansion of macro 'pr_warn'
pr_warn("%s: %d output lines suppressed due to ratelimiting\n",
^
The backport of the hrtimer_start() functions needs the
linux/interrupt.h because some parts are defined there. Fix this by
moving the hrtimer_start() backport to the linux/interrupt.h backport
header file.
Fixes:
|
||
---|---|---|
.. | ||
acx-mac80211 | ||
ar7-atm | ||
ath10k-ct | ||
avila-wdt | ||
brcm2708-gpu-fw | ||
broadcom-wl | ||
button-hotplug | ||
gpio-button-hotplug | ||
gpio-nct5104d | ||
hwmon-gsc | ||
i2c-gpio-custom | ||
kmod-sched-cake | ||
lantiq | ||
leds-apu2 | ||
linux | ||
mac80211 | ||
mt76 | ||
mwlwifi | ||
om-watchdog | ||
rotary-gpio-custom | ||
rtc-rv5c386a | ||
spi-gpio-custom | ||
trelay | ||
w1-gpio-custom | ||
wrt55agv2-spidevs |