diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2020-06-29 17:47:00 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2020-06-29 17:47:00 +0000 |
| commit | 97ce5033a8607d79a77fbcba6aafee790dc7bf26 (patch) | |
| tree | 474086ea6b9a705e02aa16252446c46b28aecc04 | |
| parent | dc319d05aec8408641320dc12ff93370b6640265 (diff) | |
Notes
| -rw-r--r-- | sys/compat/linux/linux.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/linux/linux.h b/sys/compat/linux/linux.h index 49db0c0d41d8..8b2dd0c3d91e 100644 --- a/sys/compat/linux/linux.h +++ b/sys/compat/linux/linux.h @@ -165,9 +165,6 @@ int bsd_to_linux_bits_(int value, struct bsd_to_linux_bitmap *bitmap, int linux_to_bsd_bits_(int value, struct bsd_to_linux_bitmap *bitmap, size_t mapcnt, int no_value); -#define bsd_to_linux_bits(_val, _bmap, _noval) \ - bsd_to_linux_bits_((_val), (_bmap), nitems((_bmap)), (_noval)) - /* * These functions are used for simplification of BSD <-> Linux bit conversions. * Given `value`, a bit field, these functions will walk the given bitmap table @@ -176,6 +173,8 @@ int linux_to_bsd_bits_(int value, struct bsd_to_linux_bitmap *bitmap, * represented with the bit values appropriate for the target platform. * Otherwise, the value supplied as `no_value` is returned. */ +#define bsd_to_linux_bits(_val, _bmap, _noval) \ + bsd_to_linux_bits_((_val), (_bmap), nitems((_bmap)), (_noval)) #define linux_to_bsd_bits(_val, _bmap, _noval) \ linux_to_bsd_bits_((_val), (_bmap), nitems((_bmap)), (_noval)) |
