PERFORCE change 107815 for review

John Baldwin jhb at freebsd.org
Fri Oct 13 12:59:13 PDT 2006


On Friday 13 October 2006 08:00, Paolo Pisati wrote:
> http://perforce.freebsd.org/chv.cgi?CH=107815
> 
> Change 107815 by piso at piso_newluxor on 2006/10/13 12:00:35
> 
> 	Fixes compilation of GENERIC on amd64.

It would be better to fix the functions to return an appropriate value.

> Affected files ...
> 
> .. //depot/projects/soc2006/intr_filter/amd64/isa/clock.c#6 edit
> 
> Differences ...
> 
> ==== //depot/projects/soc2006/intr_filter/amd64/isa/clock.c#6 (text+ko) ====
> 
> @@ -758,7 +758,7 @@
>  	 * timecounter to user a simpler algorithm.
>  	 */
>  	if (!using_lapic_timer) {
> -		intr_add_handler("clk", 0, clkintr, NULL, NULL,
> +		intr_add_handler("clk", 0, (driver_filter_t *)clkintr, NULL, NULL,
>  		    INTR_TYPE_CLK, NULL);
>  		i8254_intsrc = intr_lookup_source(0);
>  		if (i8254_intsrc != NULL)
> @@ -792,7 +792,7 @@
>  
>  		/* Enable periodic interrupts from the RTC. */
>  		rtc_statusb |= RTCSB_PINTR;
> -		intr_add_handler("rtc", 8, rtcintr, NULL, NULL,
> +		intr_add_handler("rtc", 8, (driver_filter_t *)rtcintr, NULL, NULL,
>  		    INTR_TYPE_CLK, NULL);
>  
>  		writertc(RTC_STATUSB, rtc_statusb);
> 

-- 
John Baldwin


More information about the p4-projects mailing list