ixp4xx: add v3.18 support
[openwrt/svn-archive/archive.git] / target / linux / ixp4xx / patches-3.18 / 090-increase_entropy_pools.patch
1 --- a/drivers/char/random.c
2 +++ b/drivers/char/random.c
3 @@ -280,11 +280,11 @@
4 /*
5 * Configuration information
6 */
7 -#define INPUT_POOL_SHIFT 12
8 +#define INPUT_POOL_SHIFT 13
9 #define INPUT_POOL_WORDS (1 << (INPUT_POOL_SHIFT-5))
10 -#define OUTPUT_POOL_SHIFT 10
11 +#define OUTPUT_POOL_SHIFT 11
12 #define OUTPUT_POOL_WORDS (1 << (OUTPUT_POOL_SHIFT-5))
13 -#define SEC_XFER_SIZE 512
14 +#define SEC_XFER_SIZE 1024
15 #define EXTRACT_SIZE 10
16
17 #define DEBUG_RANDOM_BOOT 0