diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2019-01-17 15:15:57 +0100 |
---|---|---|
committer | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2019-01-21 15:45:53 +0100 |
commit | b6769a3865fabc04d0047da8c672981f5afaf787 (patch) | |
tree | b8fc5778d52dbafa436df518ae404c885a9d3565 /crypto/cryptlib.c | |
parent | 492f70645ca912d82af02b9bc06e9472bf0730a0 (diff) |
PPC: Try out if mftb works before using it
If this fails try out if mfspr268 works.
Use OPENSSL_ppccap=0x20 for enabling mftb,
OPENSSL_ppccap=0x40 for enabling mfspr268,
and OPENSSL_ppccap=0 for enabling neither.
Fixes #8012
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8043)
(cherry picked from commit c8f370485c43729db44b680e41e875ddd7f3108c)
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r-- | crypto/cryptlib.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 1cd77c96d2..fb314e365c 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -460,4 +460,14 @@ uint32_t OPENSSL_rdtsc(void) { return 0; } + +size_t OPENSSL_instrument_bus(unsigned int *out, size_t cnt) +{ + return 0; +} + +size_t OPENSSL_instrument_bus2(unsigned int *out, size_t cnt, size_t max) +{ + return 0; +} #endif |