diff options
Diffstat (limited to 'src/lib/libcrypto/x86_64cpuid.pl')
-rw-r--r-- | src/lib/libcrypto/x86_64cpuid.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x86_64cpuid.pl b/src/lib/libcrypto/x86_64cpuid.pl index 2616a03da6..8946b464a8 100644 --- a/src/lib/libcrypto/x86_64cpuid.pl +++ b/src/lib/libcrypto/x86_64cpuid.pl | |||
@@ -47,6 +47,8 @@ CRT\$XIU ENDS | |||
47 | 47 | ||
48 | ___ | 48 | ___ |
49 | print<<___ if(!defined($masm)); | 49 | print<<___ if(!defined($masm)); |
50 | #include <machine/asm.h> | ||
51 | |||
50 | .text | 52 | .text |
51 | 53 | ||
52 | .globl OPENSSL_atomic_add | 54 | .globl OPENSSL_atomic_add |
@@ -95,7 +97,7 @@ OPENSSL_wipe_cpu: | |||
95 | .size OPENSSL_wipe_cpu,.-OPENSSL_wipe_cpu | 97 | .size OPENSSL_wipe_cpu,.-OPENSSL_wipe_cpu |
96 | 98 | ||
97 | .section .init | 99 | .section .init |
98 | call OPENSSL_cpuid_setup | 100 | call PIC_PLT(OPENSSL_cpuid_setup) |
99 | 101 | ||
100 | ___ | 102 | ___ |
101 | 103 | ||