From 1906c279fbe3420e31a5a48a19b6daac5fbf1904 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 17 Sep 2018 18:55:12 +0200 Subject: crypto: do not use -include trick Signed-off-by: Jason A. Donenfeld --- src/crypto/zinc/blake2s/blake2s.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/crypto/zinc/blake2s/blake2s.c') diff --git a/src/crypto/zinc/blake2s/blake2s.c b/src/crypto/zinc/blake2s/blake2s.c index d0b9bb9..bedff1e 100644 --- a/src/crypto/zinc/blake2s/blake2s.c +++ b/src/crypto/zinc/blake2s/blake2s.c @@ -111,7 +111,9 @@ void blake2s_init_key(struct blake2s_state *state, const size_t outlen, } EXPORT_SYMBOL(blake2s_init_key); -#ifndef HAVE_BLAKE2S_ARCH_IMPLEMENTATION +#if defined(CONFIG_ZINC_ARCH_X86_64) +#include "blake2s-x86_64-glue.h" +#else void __init blake2s_fpu_init(void) { } -- cgit v1.2.3