lkml.org 
[lkml]   [1997]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MSR support for x86
On Mon, 3 Mar 1997, Michel LESPINASSE wrote:
> 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))) {
>

Many thanks!
This shouldn't make much of a difference, but still, please edit
the file ./drivers/char/msr.c.

Anyway, since there were no more bug-reports, I will submit this patch to
Linus for inclusion in the 2.1.x kernel.

Cheers, Stephan

-----------------------------------------------
Stephan Meyer
+49-89-4301114
Stephan.Meyer@munich.netsurf.de
http://fatman.mathematik.tu-muenchen.de/~meyer/
-----------------------------------------------


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