sys/_bitset.h: revert commit 74e014dbfab

It caused kernel build for PowerPC64 to fail.

A different patch is being tested with make universe to make sure it
works on all architectures.

MFC after:	1 month<N [day[s]|week[s]|month[s]].  Request a reminder email>
This commit is contained in:
Stefan Eßer 2021-12-07 23:34:33 +01:00 committed by Sebastian Huber
parent c78c56c06d
commit 3af17aef2b
1 changed files with 1 additions and 3 deletions

View File

@ -61,13 +61,11 @@ struct _t { \
* Define a default type that can be used while manually specifying size * Define a default type that can be used while manually specifying size
* to every call. * to every call.
*/ */
__BITSET_DEFINE(__bitset, 1); __BITSET_DEFINE(bitset, 1);
#if defined(_KERNEL) || defined(_WANT_FREEBSD_BITSET) #if defined(_KERNEL) || defined(_WANT_FREEBSD_BITSET)
#define BITSET_DEFINE(_t, _s) __BITSET_DEFINE(_t, _s) #define BITSET_DEFINE(_t, _s) __BITSET_DEFINE(_t, _s)
#define BITSET_DEFINE_VAR(_t) __BITSET_DEFINE_VAR(_t) #define BITSET_DEFINE_VAR(_t) __BITSET_DEFINE_VAR(_t)
#define bitset __bitset
#endif #endif
#endif /* !_SYS__BITSET_H_ */ #endif /* !_SYS__BITSET_H_ */