Re: [PATCH v2 11/18] arm64: make mrs_s and msr_s macros work with LTO

From: Will Deacon
Date: Thu Nov 16 2017 - 06:54:36 EST


On Wed, Nov 15, 2017 at 01:34:21PM -0800, Sami Tolvanen wrote:
> From: Alex Matveev <alxmtvv@xxxxxxxxx>
>
> Use UNDEFINE_MRS_S and UNDEFINE_MSR_S to define corresponding macros
> in-place and workaround gcc and clang limitations on redefining macros
> across different assembler blocks.

What limitations? Can you elaborate please? Is this a fix?

Will