1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 22:18:16 +02:00
openwrt/package
Hauke Mehrtens ba1aedafeb mac80211: fix compile error on PowerPC (PPC_85xx)
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: a8f63a0717f5: ("mac80211: update to backports-4.14-rc2")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2017-10-01 16:41:19 +02:00
..
base-files base-files: create /etc/config/ directory 2017-09-30 22:22:38 +02:00
boot sunxi: improve A20 Lime2 upload speed 2017-09-30 23:50:57 +02:00
devel gdb: bump to 8.0.1 2017-09-29 06:33:39 +03:00
firmware linux-firmware: fix intel wireless-n 100 firmware package name 2017-09-28 22:57:46 +02:00
kernel mac80211: fix compile error on PowerPC (PPC_85xx) 2017-10-01 16:41:19 +02:00
libs libubox: fix uloop race condition 2017-09-21 23:03:36 +02:00
network mac80211: update to backports-4.14-rc2 2017-10-01 12:49:11 +02:00
system procd: Install seccomp-trace symlink 2017-09-28 09:22:02 +02:00
utils package/utils/f2fs-tools: Update to 1.9.0 2017-09-30 22:43:17 +02:00
Makefile build: cleanup tmp/ dir of target rootfs 2017-05-02 22:10:50 +08:00