[PATCH]2.4.0-test3 compile fix for UP

From: Jarno Paananen (jpaana@s2.org)
Date: Mon Jul 10 2000 - 19:33:32 EST


Hi,

this small patch fixes compile on UP machines. It seems one place
was forgotten when making those changes :)

// Jarno

--- kernel/timer.c~ Tue Jul 11 03:29:55 2000
+++ kernel/timer.c Tue Jul 11 03:23:14 2000
@@ -577,7 +577,7 @@
                         p->counter = 0;
                         p->need_resched = 1;
                 }
- if (p->priority < DEF_PRIORITY)
+ if (p->nice > 0)
                         kstat.cpu_nice += user_tick;
                 else
                         kstat.cpu_user += user_tick;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:11 EST