diff mbox

[RFC] parisc: Add support for self-extracting kernel

Message ID 20170821142434.GA7148@p100.box (mailing list archive)
State Awaiting Upstream
Headers show

Commit Message

Helge Deller Aug. 21, 2017, 2:24 p.m. UTC
The patch below is missing on top of the old patch I sent.
It's needed to avoid usage of fp registers.
This patch unbreaks booting the lzma variants (XZ, LZO, LZMA,...)

Signed-off-by: Helge Deller <deller@gmx.de>

Helge

--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/parisc/boot/compressed/Makefile b/arch/parisc/boot/compressed/Makefile
index 9b2d304..5450a11 100644
--- a/arch/parisc/boot/compressed/Makefile
+++ b/arch/parisc/boot/compressed/Makefile
@@ -15,8 +15,7 @@  targets += misc.o piggy.o sizes.h head.o real2.o firmware.o
 KBUILD_CFLAGS := -D__KERNEL__ -O2 -DBOOTLOADER
 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
 KBUILD_CFLAGS += $(cflags-y) -fno-delete-null-pointer-checks
-KBUILD_CFLAGS += $(call cc-option,-mpacked-stack)
-KBUILD_CFLAGS += -fno-PIE -mno-space-regs
+KBUILD_CFLAGS += -fno-PIE -mno-space-regs -mdisable-fpregs
 ifndef CONFIG_64BIT
 KBUILD_CFLAGS += -mfast-indirect-calls
 endif