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 14:56:16 +0000 (16:56 +0200)
commit7d96c301d6afc9f360c26b404e435e8e03c1e207
treed548b2a3bf86fd88546534b51ab5a00c61d30da5
parent9e57b627834166f0b0e365a165975fafd72ab951
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>
target/linux/generic/backport-4.14/049-v4.20-mips-remove-superfluous-check-for-linux.patch [new file with mode: 0644]
target/linux/generic/backport-4.19/049-v4.20-mips-remove-superfluous-check-for-linux.patch [new file with mode: 0644]