[PATCH v2] crypto: arm64/sha: Add constant operand modifier to ASM_EXPORT

Herbert Xu herbert at gondor.apana.org.au
Mon Apr 10 04:22:30 PDT 2017


On Wed, Apr 05, 2017 at 11:34:58AM -0700, Matthias Kaehlcke wrote:
> The operand is an integer constant, make the constness explicit by
> adding the modifier. This is needed for clang to generate valid code
> and also works with gcc.
> 
> Also change the constraint of the operand from 'I' ("Integer constant
> that is valid as an immediate operand in an ADD instruction", AArch64)
> to 'i' ("An immediate integer operand").
> 
> Based-on-patch-from: Greg Hackmann <ghackmann at google.com>
> Signed-off-by: Greg Hackmann <ghackmann at google.com>
> Signed-off-by: Matthias Kaehlcke <mka at chromium.org>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the linux-arm-kernel mailing list