2009-05-11 04:10:10

by Harald Welte

[permalink] [raw]
Subject: [PATCH] Support VIA Nano hardware RNG on X86_64 builds

Fix Kconfig to build via-rng.ko on X86_64 builds, as the VIA Nano
CPU supports x86_64, too.

Signed-off-by: Harald Welte <[email protected]>
---
drivers/char/hw_random/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 5fab647..9c00440 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -88,7 +88,7 @@ config HW_RANDOM_N2RNG

config HW_RANDOM_VIA
tristate "VIA HW Random Number Generator support"
- depends on HW_RANDOM && X86_32
+ depends on HW_RANDOM && X86
default HW_RANDOM
---help---
This driver provides kernel-side support for the Random Number
--
1.6.2.4



2009-05-15 06:02:02

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] Support VIA Nano hardware RNG on X86_64 builds

On Mon, May 11, 2009 at 12:03:45PM +0800, Harald Welte wrote:
> Fix Kconfig to build via-rng.ko on X86_64 builds, as the VIA Nano
> CPU supports x86_64, too.
>
> Signed-off-by: Harald Welte <[email protected]>

Also applied.
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt