diff options
author | Roland McGrath <roland@gnu.org> | 2000-01-29 01:27:31 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-01-29 01:27:31 +0000 |
commit | 157a341929576a1867e15ba7d270e1e3cbe3c4a8 (patch) | |
tree | c58b872ed1a402c594ca0dd23c8876ef143bf1b0 /pfinet/linux/sched.h | |
parent | 1e53886378dbb4ac7a83c1d1ce78833500ec6b62 (diff) | |
download | hurd-157a341929576a1867e15ba7d270e1e3cbe3c4a8.tar.gz hurd-157a341929576a1867e15ba7d270e1e3cbe3c4a8.tar.bz2 hurd-157a341929576a1867e15ba7d270e1e3cbe3c4a8.zip |
2000-01-27 Roland McGrath <roland@baalperazim.frob.com>
* mapped-time.h: Include <maptime.h>.
(fill_timeval): Function removed.
(fetch_jiffies): Use maptime_read.
* timer-emul.c (init_time): Use maptime_map and maptime_read.
* linux/sched.h (fetch_xtime): Use maptime_read.
* linux/time.h (do_gettimeofday): Likewise.
Diffstat (limited to 'pfinet/linux/sched.h')
-rw-r--r-- | pfinet/linux/sched.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pfinet/linux/sched.h b/pfinet/linux/sched.h index 08358dd5..acc60944 100644 --- a/pfinet/linux/sched.h +++ b/pfinet/linux/sched.h @@ -53,9 +53,9 @@ void schedule (void); /* This function is used only to send SIGPIPE to the current task. In all such cases, EPIPE is returned anyhow. In the Hurd, servers are not responsible for SIGPIPE; the library - does that itself upon receiving EPIPE. So we can just + does that itself upon receiving EPIPE. So we can just NOP such calls. */ -extern inline int +extern inline int send_sig (u_long signo, struct task_struct *task, int priv) { assert (signo == SIGPIPE); @@ -74,7 +74,7 @@ static struct timeval _xtime_buf; extern inline struct timeval fetch_xtime () { - fill_timeval (&_xtime_buf); + maptime_read (mapped_time, &_xtime_buf); return _xtime_buf; } |