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:42:04 +0100 |
commit | c8f370485c43729db44b680e41e875ddd7f3108c (patch) | |
tree | 9ebee84bc6e1cb074273a68000f41f6ee100f887 /include | |
parent | update Copyright date (diff) | |
download | openssl-c8f370485c43729db44b680e41e875ddd7f3108c.tar.xz openssl-c8f370485c43729db44b680e41e875ddd7f3108c.zip |
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)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/cryptlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/internal/cryptlib.h b/include/internal/cryptlib.h index f9b7a40dd0..9bf3c31620 100644 --- a/include/internal/cryptlib.h +++ b/include/internal/cryptlib.h @@ -92,5 +92,7 @@ void *openssl_fopen(const char *filename, const char *mode); # endif uint32_t OPENSSL_rdtsc(void); +size_t OPENSSL_instrument_bus(unsigned int *, size_t); +size_t OPENSSL_instrument_bus2(unsigned int *, size_t, size_t); #endif |