lkml.org 
[lkml]   [2005]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.6.14-rt13 does not build
FromLee Revell <>
DateMon, 21 Nov 2005 14:19:14 -0500
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-21 20:21    [from the cache]
©2003-2010