kernel: fix ftrace support on 4.9
authorFelix Fietkau <nbd@nbd.name>
Wed, 18 Oct 2017 20:46:29 +0000 (22:46 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 18 Oct 2017 20:59:05 +0000 (22:59 +0200)
commit7c42f15c2406481784d654d99244539d71522582
tree82e1447bc5c28214303d9a89c6fa7a2f2a7012cf
parent36d2884d553aa4cc98b1df5ed43a16ab336dd660
kernel: fix ftrace support on 4.9

When porting the kernel patches from 4.4 to 4.9, they were missing a
small chunk that ensures that ftrace sections are kept in the vmlinux
image, even when linked with --gc-sections

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/hack-4.9/220-gc_sections.patch