]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: drbg - use pragmas for disabling optimization
authorStephan Mueller <smueller@chronox.de>
Tue, 9 Jun 2015 02:08:49 +0000 (04:08 +0200)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Wed, 13 Sep 2017 21:21:35 +0000 (14:21 -0700)
commitd0e98a7e5d0c2571aa8c00a295a606e25ddc8983
tree5fbb339841a40cca06c3701717e447606acb30c9
parentf09478c85e33aa66675ce03b170faa4418e9aa68
crypto: drbg - use pragmas for disabling optimization

Orabug: 26330509

Replace the global -O0 compiler flag from the Makefile with GCC
pragmas to mark only the functions required to be compiled without
optimizations.

This patch also adds a comment describing the rationale for the
functions chosen to be compiled without optimizations.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit fbb145bc0a1c03b90a96cca99dc07c33aaad2318)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
crypto/Makefile
crypto/jitterentropy.c