From 56655d7550e6a66c9cf4b52f107624370213d345 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Tue, 21 Jan 2003 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 2003-01-21 --- port/portdat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/port/portdat.h b/port/portdat.h index 20549bc37545828f1a4dd0892a58d396d91e1e29..07cd7530698d315fea22c2325bd537dc41d71bd1 100644 --- a/port/portdat.h +++ b/port/portdat.h @@ -845,10 +845,10 @@ extern Uart* consuart; struct Timer { uvlong when; /* fastticks when f should be called */ + ulong period; void (*f)(Ureg*, Timer*); void *a; Timer *next; - ulong period; }; struct Edfinterface { @@ -876,7 +876,7 @@ struct Perf ulong avg_inintr; /* avg time per clock tick in interrupt handlers */ ulong inidle; /* time since last clock tick in idle loop */ ulong avg_inidle; /* avg time per clock tick in idle loop */ - ulong last; /* value of perfticks() at last clock tick */ + ulong last; /* value of perfticks() at last clock tick */ ulong period; /* perfticks() per clock tick */ };