hwrng: core - Prevent too-small buffer sizes
authorIan Molton <ian.molton@collabora.co.uk>
Thu, 3 Dec 2009 05:50:42 +0000 (13:50 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 3 Dec 2009 05:50:42 +0000 (13:50 +0800)
commiteed89d0f9d3383851cec634565a6414fae70fe91
treeec1bd56b152d2b5a53a20aa7fde21a60ce794c9c
parentbb347d98079a547e80bd4722dee1de61e4dca0e8
hwrng: core - Prevent too-small buffer sizes

This patch prevents the hw_random core using too small of a buffer
on machines with small cacheline sizes.

Signed-off-by: Ian Molton <ian.molton@collabora.co.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/core.c