kernel: cherry pick patch removing __linux__ check
authorFredrik Olofsson <fredrik.olofsson@anyfinetworks.com>
Thu, 4 Jul 2019 11:58:15 +0000 (13:58 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 10 Jul 2019 16:05:32 +0000 (18:05 +0200)
commit955b393cf04376f27a4dfe239793e28343df6fd0
tree134dd8c1c526b1f30b57dab886a41a7f4677a3ed
parent65034359ee8c249a37dc1e2c23292907cdeb5a09
kernel: cherry pick patch removing __linux__ check

This is already included in newer upstream. Needed to build BPF programs
using the MIPS kernel include files.

Without this patch, clang fails with "#error Use a Linux compiler or
give up." in sgidefs.h when building BPF programs.

Signed-off-by: Fredrik Olofsson <fredrik.olofsson@anyfinetworks.com>
(cherry-picked from commit 7d96c301d6afc9f360c26b404e435e8e03c1e207)
target/linux/generic/backport-4.14/049-v4.20-mips-remove-superfluous-check-for-linux.patch [new file with mode: 0644]