Re: 2.6.14-rt13 does not build

From: Lee Revell
Date: Mon Nov 21 2005 - 14:18:53 EST


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/