aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/timer.c
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2003-08-27 21:24:41 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2003-08-27 21:24:41 +0000
commitde0dff07cc4d4130b4bd28f4102bb9a62e2fc792 (patch)
tree15e51749367ccaff170b3dbb7365e3df9cb4451f /xen/common/timer.c
parenta6505336e3bad11c6260962c17abf973ffa92cbf (diff)
downloadxen-de0dff07cc4d4130b4bd28f4102bb9a62e2fc792.tar.gz
xen-de0dff07cc4d4130b4bd28f4102bb9a62e2fc792.tar.bz2
xen-de0dff07cc4d4130b4bd28f4102bb9a62e2fc792.zip
bitkeeper revision 1.396 (3f4d2199UsCzVuRmn-0-L6lh9VGYZg)
Many files: Small cleanups. Faster checksum calculation for console UDP packets.
Diffstat (limited to 'xen/common/timer.c')
-rw-r--r--xen/common/timer.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/xen/common/timer.c b/xen/common/timer.c
index 20d45ccbe6..ebc7f8d3b0 100644
--- a/xen/common/timer.c
+++ b/xen/common/timer.c
@@ -280,7 +280,7 @@ static inline void cascade_timers(struct timer_vec *tv)
tmp = list_entry(curr, struct timer_list, list);
next = curr->next;
- list_del(curr); // not needed
+ list_del(curr); /* not needed */
internal_add_timer(tmp);
curr = next;
}
@@ -509,18 +509,12 @@ static void update_wall_time(unsigned long ticks)
static inline void do_process_times(struct task_struct *p,
unsigned long user, unsigned long system)
{
- //unsigned long psecs;
-
-// psecs = (p->times.tms_utime += user);
- //psecs += (p->times.tms_stime += system);
}
void update_one_process(struct task_struct *p, unsigned long user,
unsigned long system, int cpu)
{
-// p->per_cpu_utime[cpu] += user;
-// p->per_cpu_stime[cpu] += system;
do_process_times(p, user, system);
}