> +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!