aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-5.15/321-powerpc_crtsavres_prereq.patch
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2021-11-04 23:25:50 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-03-27 00:07:34 +0000
commit1f302afd7350f46ec0fcc4b12b0ad59ac92fe5b6 (patch)
tree7c015f93344ad49d6dbf9888364b65f442d18483 /target/linux/generic/hack-5.15/321-powerpc_crtsavres_prereq.patch
parent7829ae4a2f9d37fa66b683d5824e0e3e93bb6c50 (diff)
downloadupstream-1f302afd7350f46ec0fcc4b12b0ad59ac92fe5b6.tar.gz
upstream-1f302afd7350f46ec0fcc4b12b0ad59ac92fe5b6.tar.bz2
upstream-1f302afd7350f46ec0fcc4b12b0ad59ac92fe5b6.zip
generic: 5.15: rework hack patch
Rework hack patch in dir for kernel 5.15. For the specific patch of packet mangeling introduce a new extra_priv_flags as we don't have enough space to add additional flags in priv_flags. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/generic/hack-5.15/321-powerpc_crtsavres_prereq.patch')
-rw-r--r--target/linux/generic/hack-5.15/321-powerpc_crtsavres_prereq.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/hack-5.15/321-powerpc_crtsavres_prereq.patch b/target/linux/generic/hack-5.15/321-powerpc_crtsavres_prereq.patch
index 4bb438295d..215528a90c 100644
--- a/target/linux/generic/hack-5.15/321-powerpc_crtsavres_prereq.patch
+++ b/target/linux/generic/hack-5.15/321-powerpc_crtsavres_prereq.patch
@@ -24,7 +24,7 @@ Signed-off-by: Alexandros C. Couloumbis <alex@ozo.com>
-ifdef CONFIG_PPC32
-KBUILD_LDFLAGS_MODULE += arch/powerpc/lib/crtsavres.o
-else
--ifeq ($(call ld-ifversion, -ge, 225000000, y),y)
+-ifeq ($(call ld-ifversion, -ge, 22500, y),y)
-# Have the linker provide sfpr if possible.
-# There is a corresponding test in arch/powerpc/lib/Makefile
-KBUILD_LDFLAGS_MODULE += --save-restore-funcs