lkml.org 
[lkml]   [2008]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] padlock: don't whinge when loaded on a non-VIA cpu
From
Date
Kyle McMartin <kmcmartin@redhat.com> writes:

> --- a/drivers/crypto/padlock-aes.c
> +++ b/drivers/crypto/padlock-aes.c
> @@ -384,6 +384,9 @@ static int __init padlock_init(void)
> {
> int ret;
>
> + if (!(boot_cpu_data.x86_vendor == X86_VENDOR_CENTAUR))
> + return -ENODEV;
> +

BTW C has "!=" operator, may be useful.
--
Krzysztof Halasa


\
 
 \ /
  Last update: 2008-07-08 22:07    [W:0.043 / U:31.216 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site