Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/compat/linux/common Pull up rev. 1.56:



details:   https://anonhg.NetBSD.org/src/rev/9189af686cb6
branches:  netbsd-1-5
changeset: 488497:9189af686cb6
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jul 13 20:16:28 2000 +0000

description:
Pull up rev. 1.56:
Add a comment about the hzto() return value.

diffstat:

 sys/compat/linux/common/linux_misc_notalpha.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r e334d41b779c -r 9189af686cb6 sys/compat/linux/common/linux_misc_notalpha.c
--- a/sys/compat/linux/common/linux_misc_notalpha.c     Thu Jul 13 20:15:12 2000 +0000
+++ b/sys/compat/linux/common/linux_misc_notalpha.c     Thu Jul 13 20:16:28 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_misc_notalpha.c,v 1.53 2000/03/23 06:48:17 thorpej Exp $ */
+/*     $NetBSD: linux_misc_notalpha.c,v 1.53.4.1 2000/07/13 20:16:28 thorpej Exp $     */
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -126,6 +126,10 @@
        }
 
        if (timerisset(&it.it_value)) {
+               /*
+                * Don't need to check hzto() return value, here.
+                * callout_reset() does it for us.
+                */
                timeradd(&it.it_value, &time, &it.it_value);
                callout_reset(&p->p_realit_ch, hzto(&it.it_value),
                    realitexpire, p);



Home | Main Index | Thread Index | Old Index