diff options
author | Stefan Agner <stefan@agner.ch> | 2020-03-02 00:37:14 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 12:28:25 +1100 |
commit | 7548bf8c17d84607c106bd45d81834afd95a2edb (patch) | |
tree | 24ab1c3a4f263536a1622cc75b40614fde07b8c7 /kernel/dma/contiguous.c | |
parent | dc7fc3a53ae158263196b1892b672aedf67796c5 (diff) |
crypto: arm/ghash-ce - define fpu before fpu registers are referenced
Building ARMv7 with Clang's integrated assembler leads to errors such
as:
arch/arm/crypto/ghash-ce-core.S:34:11: error: register name expected
t3l .req d16
^
Since no FPU has selected yet Clang considers d16 not a valid register.
Moving the FPU directive on-top allows Clang to parse the registers and
allows to successfully build this file with Clang's integrated assembler.
Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/dma/contiguous.c')
0 files changed, 0 insertions, 0 deletions