lkml.org 
[lkml]   [1997]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MSR support for x86
On Thu, 27 Feb 1997, Stephan Meyer wrote:

> +void msr_init(void) {
> + int i;
> + if ((!have_cpuid) && (!(x86_capability & 32))) {
> + printk("MSR not supported!\n");
> + return;
> + }
> + misc_register(&msr_device);
> +}

shouldn't this be :
+ if ((!have_cpuid) || (!(x86_capability & 32))) {

Michel "Walken" LESPINASSE - Student at Ecole Centrale Paris (France)
www Email : walken@via.ecp.fr
(o o) VideoLan project : http://videolan.via.ecp.fr/
------oOO--(_)--OOo-------------------------------------------------------
Yow ! 1135 KB/s remote host TCP bandwidth over 10Mb/s ethernet. Beat that!


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.039 / U:1.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site