diff options
author | John Baldwin <jhb@FreeBSD.org> | 2001-01-24 00:01:42 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2001-01-24 00:01:42 +0000 |
commit | 401cee34d4ce1d51e6589d7a0cc5c0e24742d664 (patch) | |
tree | 7f5f83331b96fffe779513ede106dbddbda6f0ef | |
parent | 0f483a016cd48cdadc4484f3b9ed3df79dff5769 (diff) | |
download | src-test2-401cee34d4ce1d51e6589d7a0cc5c0e24742d664.tar.gz src-test2-401cee34d4ce1d51e6589d7a0cc5c0e24742d664.zip |
Notes
-rw-r--r-- | sys/compat/netbsd/physio_proc.h | 2 | ||||
-rw-r--r-- | sys/i386/ibcs2/ibcs2_sysvec.c | 2 | ||||
-rw-r--r-- | sys/i386/include/physio_proc.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/netbsd/physio_proc.h b/sys/compat/netbsd/physio_proc.h index f31507e3dc99..7ab68c8d9cca 100644 --- a/sys/compat/netbsd/physio_proc.h +++ b/sys/compat/netbsd/physio_proc.h @@ -56,7 +56,7 @@ physio_proc_enter(bp) if (bp == NULL || (bp->b_flags & B_PHYS) == 0) return NULL; - if ((pp = physio_proc_freet.tqh_first) == NULL) + if ((pp = TAILQ_FIRST(&physio_proc_freet)) == NULL) return NULL; s = splstatclock(); diff --git a/sys/i386/ibcs2/ibcs2_sysvec.c b/sys/i386/ibcs2/ibcs2_sysvec.c index 8eb298712f1f..1e70c13b47bc 100644 --- a/sys/i386/ibcs2/ibcs2_sysvec.c +++ b/sys/i386/ibcs2/ibcs2_sysvec.c @@ -82,7 +82,7 @@ ibcs2_modevent(module_t mod, int type, void *unused) case MOD_UNLOAD: /* if this was an ELF module we'd use elf_brand_inuse()... */ ALLPROC_LOCK(AP_SHARED); - for (p = allproc.lh_first; p != 0; p = p->p_list.le_next) { + LIST_FOREACH(p, &allproc, p_list) { if (p->p_sysent == &ibcs2_svr3_sysvec) { rval = EBUSY; break; diff --git a/sys/i386/include/physio_proc.h b/sys/i386/include/physio_proc.h index f31507e3dc99..7ab68c8d9cca 100644 --- a/sys/i386/include/physio_proc.h +++ b/sys/i386/include/physio_proc.h @@ -56,7 +56,7 @@ physio_proc_enter(bp) if (bp == NULL || (bp->b_flags & B_PHYS) == 0) return NULL; - if ((pp = physio_proc_freet.tqh_first) == NULL) + if ((pp = TAILQ_FIRST(&physio_proc_freet)) == NULL) return NULL; s = splstatclock(); |