Re: Fighting for the power.

From: Jakub Lach <jakub_lach_at_mailplus.pl>
Date: Wed, 6 May 2009 10:04:57 -0700 (PDT)
Hello.

Is this patch commited yet?

-best regards, 
Jakub Lach
 

Alexander Motin-3 wrote:
> 
> 
> Sorry, my fault. Try attached patch.
> 
> -- 
> Alexander Motin
> 
> --- local_apic.c.prev	2009-05-01 23:53:37.000000000 +0300
> +++ local_apic.c	2009-05-05 01:10:04.000000000 +0300
> _at__at_ -319,7 +319,7 _at__at_ lapic_setup(int boot)
>  	}
>  
>  	/* We don't setup the timer during boot on the BSP until later. */
> -	if (!(boot && PCPU_GET(cpuid) == 0)) {
> +	if (!(boot && PCPU_GET(cpuid) == 0) && lapic_timer_hz != 0) {
>  		KASSERT(lapic_timer_period != 0, ("lapic%u: zero divisor",
>  		    lapic_id()));
>  		lapic_timer_set_divisor(lapic_timer_divisor);
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 

-- 
View this message in context: http://www.nabble.com/Fighting-for-the-power.-tp23360518p23411239.html
Sent from the freebsd-current mailing list archive at Nabble.com.
Received on Wed May 06 2009 - 15:04:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC