Re: 2.6.14-rt13 does not build

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

 



On Mon, 2005-11-21 at 13:58 -0500, Lee Revell wrote:
>   CC      kernel/ktimers.o
> kernel/ktimers.c: In function 'enqueue_ktimer':
> kernel/ktimers.c:756: error: incompatible type for argument 1 of
> 'trace_special_u64'
> make[1]: *** [kernel/ktimers.o] Error 1
> make: *** [kernel] Error 2

The problem is specific to !CONFIG_HIGH_RES_TIMERS.  This seems to fix
it (untested):

--- include/linux/ktimer.h~	2005-11-21 13:43:37.000000000 -0500
+++ include/linux/ktimer.h	2005-11-21 14:10:25.000000000 -0500
@@ -167,7 +167,7 @@
 	return 0;
 }
 
-#define ktimer_trace(a,b)		trace_special_u64(a,b)
+#define ktimer_trace(a,b)		trace_special(ktime_get_high(a),ktime_get_low(a),b)
 
 #endif
 

-
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