diff -ur linux-2.6.12.5-vs2.0.orig/include/linux/vserver/sched_def.h linux-2.6.12.5-vs2.0/include/linux/vserver/sched_def.h --- linux-2.6.12.5-vs2.0.orig/include/linux/vserver/sched_def.h 2005-09-05 19:05:11.000000000 +1200 +++ linux-2.6.12.5-vs2.0/include/linux/vserver/sched_def.h 2005-09-05 19:03:11.000000000 +1200 @@ -21,10 +21,10 @@ atomic_t tokens; /* number of CPU tokens */ spinlock_t tokens_lock; /* lock for token bucket */ - int fill_rate; /* Fill rate: add X tokens... */ - int interval; /* Divisor: per Y jiffies */ - int tokens_min; /* Limit: minimum for unhold */ - int tokens_max; /* Limit: no more than N tokens */ + uint32_t fill_rate; /* Fill rate: add X tokens... */ + uint32_t interval; /* Divisor: per Y jiffies */ + uint32_t tokens_min; /* Limit: minimum for unhold */ + uint32_t tokens_max; /* Limit: no more than N tokens */ uint32_t jiffies; /* last time accounted */ int priority_bias; /* bias offset for priority */ diff -ur linux-2.6.12.5-vs2.0.orig/kernel/vserver/sched.c linux-2.6.12.5-vs2.0/kernel/vserver/sched.c --- linux-2.6.12.5-vs2.0.orig/kernel/vserver/sched.c 2005-09-05 19:05:11.000000000 +1200 +++ linux-2.6.12.5-vs2.0/kernel/vserver/sched.c 2005-09-05 18:03:45.000000000 +1200 @@ -30,7 +30,7 @@ */ int vx_tokens_recalc(struct vx_info *vxi) { - long delta, tokens = 0; + uint32_t delta, tokens = 0; if (vx_info_flags(vxi, VXF_SCHED_PAUSE, 0)) /* we are paused */