Skip to contentSkip to conversation

Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-7

DISCUSSION Eran Mann 3 participants 3 messages Nov 30, 2004

lore
Share & tools
lore

Eran Mann

author
#0 lore raw
Quoted 4 lines

Hi Ingo,

I'm getting this error with V0.7.31-13

...

Quoted 7 lines

CC kernel/latency.o
kernel/latency.c: In function `check_critical_timing':
kernel/latency.c:730: too few arguments to function `___trace'
kernel/latency.c:730: warning: too few arguments passed to inline function, suppressing inlining kernel/latency.c: In function `__start_critical_timing':
kernel/latency.c:810: incompatible type for argument 1 of ____trace' kernel/latency.c:810: warning: passing arg 2 of ____trace' makes pointer from integer without a cast

...

Quoted 7 lines

kernel/latency.c:810: warning: too few arguments passed to inline function, suppressing inlining make[1]: *** [kernel/latency.o] Error 1
make: *** [kernel] Error 2
[root@tigre01 im]#

Regards
Remi

I'm guessing here, but with the following patch it at least compiles:

latency.c 2004-11-28 21:28:28.000000000 +0200 renamed from latency.c.orig 2004-11-28 21:32:04.757015856 +0200 +2 -2
@@ -727,7 +727,7 @@
        tr->critical_end = parent_eip;
 
 #ifdef CONFIG_LATENCY_TRACE
-       ___trace(CALLER_ADDR0, parent_eip);
+       ___trace(TRACE_FN, CALLER_ADDR0, parent_eip, 0, 0, 0);
        update_max_trace(tr);
 #endif
 
@@ -807,7 +807,7 @@
        tr->critical_start = eip;
 #ifdef CONFIG_LATENCY_TRACE
        tr->trace_idx = 0;
-       ____trace(tr, eip, parent_eip, 0, 0, 0);
+       ____trace(TRACE_FN, tr, eip, parent_eip, 0, 0, 0);
 #endif
 
        atomic_dec(&tr->disabled);
Signature · 6 lines
Eran Mann
Senior Software Engineer
MRV International
Tel: 972-4-9936297
Fax: 972-4-9890430
www.mrv.com
#1 lore raw
Quoted 1 line · Eran Mann

I'm guessing here, but with the following patch it at least compiles:

yeah, this is the correct patch, included in the -31-14 and later patches.

Ingo

#2 lore raw
Quoted 8 lines · Ingo Molnar
Quoted 2 lines · Eran Mann

I'm guessing here, but with the following patch it at least compiles:

yeah, this is the correct patch, included in the -31-14 and later patches.

Ingo

I hadn't hit this one yet, up since about midnight with -13, and just now found -15 so I'll build it.

Signature · 8 lines
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.29% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.