Skip to contentSkip to conversation

small update to latest kdb

kdb:PATCH Arnaldo Carvalho de Melo 1 participant 1 message Nov 25, 2001

lore
Share & tools
lore
#0 lore raw

Keith,

I had to apply this patch on top of v1.9-2.4.15-pre5 to get it
compiling with 2.4.16-pre1 (its needed for 2.4.15 too, but I haven't tasted that duck, luckily :-) ).

- Arnaldo

``"90% of everything is crap", Its called Sturgeon's law 8) One of the problems is indeed finding the good bits''
- Alan Cox

kdbmain.c renamed from kdbmain.c.orig +1 -1
@@ -2360,7 +2360,7 @@
 	for_each_task(p) {
 		kdb_printf("0x%p %08d %08d  %1.1d  %3.3d  %s  0x%p%c%s\n",
 			   (void *)p, p->pid, p->p_pptr->pid,
-			   p->has_cpu, p->processor,
+			   task_has_cpu(p), p->processor,
 			   (p->state == 0)?"run ":(p->state>0)?"stop":"unrn",
 			   (void *)(&p->thread),
 			   (p == current) ? '*': ' ',