aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches-3.18/090-increase_entropy_pools.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-02-09 14:24:00 +0000
committerJohn Crispin <blogic@openwrt.org>2015-02-09 14:24:00 +0000
commit66b84f777af7094bf0874f271035c38dd52b37d1 (patch)
tree7d3a196886d35b526e7fd1f7ba77427ba9425cbd /target/linux/ixp4xx/patches-3.18/090-increase_entropy_pools.patch
parent68814e38a3e6aa64fe8dd8dd459cfe37389124e3 (diff)
downloadmaster-187ad058-66b84f777af7094bf0874f271035c38dd52b37d1.tar.gz
master-187ad058-66b84f777af7094bf0874f271035c38dd52b37d1.tar.bz2
master-187ad058-66b84f777af7094bf0874f271035c38dd52b37d1.zip
ixp4xx: add v3.18 support
Signed-off-by: Your Name <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44363 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-3.18/090-increase_entropy_pools.patch')
-rw-r--r--target/linux/ixp4xx/patches-3.18/090-increase_entropy_pools.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/patches-3.18/090-increase_entropy_pools.patch b/target/linux/ixp4xx/patches-3.18/090-increase_entropy_pools.patch
new file mode 100644
index 0000000000..991b8d1e73
--- /dev/null
+++ b/target/linux/ixp4xx/patches-3.18/090-increase_entropy_pools.patch
@@ -0,0 +1,17 @@
+--- a/drivers/char/random.c
++++ b/drivers/char/random.c
+@@ -280,11 +280,11 @@
+ /*
+ * Configuration information
+ */
+-#define INPUT_POOL_SHIFT 12
++#define INPUT_POOL_SHIFT 13
+ #define INPUT_POOL_WORDS (1 << (INPUT_POOL_SHIFT-5))
+-#define OUTPUT_POOL_SHIFT 10
++#define OUTPUT_POOL_SHIFT 11
+ #define OUTPUT_POOL_WORDS (1 << (OUTPUT_POOL_SHIFT-5))
+-#define SEC_XFER_SIZE 512
++#define SEC_XFER_SIZE 1024
+ #define EXTRACT_SIZE 10
+
+ #define DEBUG_RANDOM_BOOT 0