Re: [patch 5/8] Add SMP support on i386 to reservation framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 22, 2006 at 07:31:41PM +0200, Markus Armbruster wrote:
> @@ -457,143 +434,312 @@ late_initcall(init_lapic_nmi_sysfs);
> [...]
>  static int setup_p6_watchdog(void)
> [...]
>  	apic_write(APIC_LVTPC, APIC_DM_NMI);
> -	evntsel |= P6_EVNTSEL0_ENABLE;
> -	wrmsr(MSR_P6_EVNTSEL0, evntsel, 0);
> +	evntsel |= K7_EVNTSEL_ENABLE;
> 
> Me thinks you want P6_EVNTSEL0_ENABLE here, although the value is the
> same.

Yup, the downside of copying/pasting...

Thanks.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux