summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/zinc/curve25519/curve25519-x86_64-glue.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-17 20:41:20 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-18 04:21:16 +0200
commit023db2863e36fe648b62e21c30fda0f38765323b (patch)
treed3338db146361b72bfb406ba601c628e67bfbfde /src/crypto/zinc/curve25519/curve25519-x86_64-glue.h
parent1906c279fbe3420e31a5a48a19b6daac5fbf1904 (diff)
crypto: turn Zinc into individual modules
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/zinc/curve25519/curve25519-x86_64-glue.h')
-rw-r--r--src/crypto/zinc/curve25519/curve25519-x86_64-glue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/zinc/curve25519/curve25519-x86_64-glue.h b/src/crypto/zinc/curve25519/curve25519-x86_64-glue.h
index 9159460..1b9b719 100644
--- a/src/crypto/zinc/curve25519/curve25519-x86_64-glue.h
+++ b/src/crypto/zinc/curve25519/curve25519-x86_64-glue.h
@@ -11,7 +11,7 @@
static bool curve25519_use_bmi2 __ro_after_init;
static bool curve25519_use_adx __ro_after_init;
-void __init curve25519_fpu_init(void)
+static void __init curve25519_fpu_init(void)
{
curve25519_use_bmi2 = boot_cpu_has(X86_FEATURE_BMI2);
curve25519_use_adx = boot_cpu_has(X86_FEATURE_BMI2) &&