NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-sun3/54869: nfsserver module load failure on NetBSD/sun3
The following reply was made to PR port-sun3/54869; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: paul%whooppee.com@localhost
Cc: gnats-bugs%netbsd.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: port-sun3/54869: nfsserver module load failure on NetBSD/sun3
Date: Sun, 19 Jan 2020 04:49:36 +0900
> > +#define pmap_update(pmap) /* nothing (yet) */
>
> Better to use
>
> +#define pmap_update(pmap) __nothing
I'll put it in a separate commit.
(<m68k/pmap_motorola.h> has the same one but not related to this PR)
> (which should elsewhere be defined as
>
> #define __nothing do {} while /* CONSTCOND */ 0
Actually it's defined as following in <sys/cdefs.h>:
---
/*
* To be used when an empty body is required like:
*
* #ifdef DEBUG
* # define dprintf(a) printf(a)
* #else
* # define dprintf(a) __nothing
* #endif
*
* We use ((void)0) instead of do {} while (0) so that it
* works on , expressions.
*/
#define __nothing (/*LINTED*/(void)0)
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index