From: Stephan Mueller Date: Tue, 23 Jun 2015 14:18:54 +0000 (+0200) Subject: crypto: jitterentropy - avoid compiler warnings X-Git-Tag: omap-for-v4.3/legacy-v2-signed~128^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfc9fa91938bd0cd5597a3da33d613986149a1e6;p=pandora-kernel.git crypto: jitterentropy - avoid compiler warnings The core of the Jitter RNG is intended to be compiled with -O0. To ensure that the Jitter RNG can be compiled on all architectures, separate out the RNG core into a stand-alone C file that can be compiled with -O0 which does not depend on any kernel include file. As no kernel includes can be used in the C file implementing the core RNG, any dependencies on kernel code must be extracted. A second file provides the link to the kernel and the kernel crypto API that can be compiled with the regular compile options of the kernel. Signed-off-by: Stephan Mueller Signed-off-by: Herbert Xu --- Reading git-diff-tree failed