]> git.baikalelectronics.ru Git - kernel.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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Jun 2015 14:26:00 +0000 (22:26 +0800)
commit0a682aacd8d4f64a3cf0eab89a880f827ba321f8
tree27e29447feac622abe0553ab12e695d94b0f48f6
parent88498d9b1fdd53b23998ae0d02fb69fcca4d70f8
crypto: drbg - use pragmas for disabling optimization

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>
crypto/Makefile
crypto/jitterentropy.c