[PATCH 13/15] arm64: fix mrs_s/msr_s macros for clang LTO
Sami Tolvanen
samitolvanen at google.com
Thu Nov 9 08:45:42 PST 2017
On Wed, Nov 08, 2017 at 12:25:55PM +0300, Yury Norov wrote:
> The patch below uses trick with undefining mrs_s/msr_s immediately
> after use to solve the problem. It works for both gcc and clang.
Great, looks good to me! I tested the patch with LTO and clang's integrated
assembler seems to be happy with it.
> It has solved many problems you also try to solve, and some patches
> are looking very similar.
I haven't had a closer look at the gcc LTO patches yet, but I am definitely
all for using common code where possible.
Sami
More information about the linux-arm-kernel
mailing list