Commit c390c452 authored by Joe Fradley's avatar Joe Fradley Committed by Herbert Xu
Browse files

crypto: x86/curve25519 - disable gcov



curve25519-x86_64.c fails to build when CONFIG_GCOV_KERNEL is enabled.
The error is "inline assembly requires more registers than available"
thrown from the `fsqr()` function. Therefore, excluding this file from
GCOV profiling until this issue is resolved. Thereby allowing
CONFIG_GCOV_PROFILE_ALL to be enabled for x86.

Signed-off-by: default avatarJoe Fradley <joefradley@google.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 3d780c8a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -107,3 +107,6 @@ quiet_cmd_perlasm = PERLASM $@
      cmd_perlasm = $(PERL) $< > $@
$(obj)/%.S: $(src)/%.pl FORCE
	$(call if_changed,perlasm)

# Disable GCOV in odd or sensitive code
GCOV_PROFILE_curve25519-x86_64.o := n