ARM: aarch64: compile with general-regs-only
Without this flag, gcc generates code to save the Q/V registers to the
stack for handling the va_list in pr_print(). Saving the registers is
useless, as the registers are never restored, but accessing the
registers to save them hangs the CPU.

Follow the Linux arch/arm64/Makefile and use the general-regs-only flag
to prevent usage of floating point and Advanced SIMD register.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6878bd7 commit 64d95896cf0e22a769066f33180b60707356160b
@Michael Tretter Michael Tretter authored on 7 Dec 2018
Sascha Hauer committed on 10 Dec 2018
Showing 1 changed file
View
arch/arm/Makefile