freebsd-dev/sys/compat
Bjoern A. Zeeb ae2268efd5 LinuxKPI: make bcd.h use libkern
Rather than having code to re-define bcd2bin() for the LinuxKPI
make sure libkern.h is always included before the LinuxKPI version.
Then only re-define our local LinuxKPI implementation.  [1]

From the argument truncating wrapper call the libkern version.
If we change our libkern implementation in the future we can save
us the remainder of the hassle. [2]  Given I need this to MFC,
which I am not sure we can with libkern, commit this intermediate
step.

Suggested by:	Johannes Berg (johannes sipsolutions.net) [1]
Suggested by:	ian [2]
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
X-MFC with:	548ada00e5
Differential Revision: https://reviews.freebsd.org/D32695
2021-11-18 23:10:34 +00:00
..
freebsd32 fspacectl: remove unneeded freebsd32 wrapper 2021-11-18 01:02:06 +00:00
ia32 fork: Allow ABI to specify fork return values for child. 2021-08-12 11:45:25 +03:00
lindebugfs Add emulation support for the Linux kcov(4) ioctl API. 2020-09-04 00:12:28 +00:00
linprocfs linprocfs: Fix formatting of Uid and Gid lines 2021-11-03 08:40:55 +00:00
linsysfs linsysfs: create /sys/bus/ and /sys/subsystem/ 2021-03-11 15:50:51 +00:00
linux linux_name_to_handle_at: Support AT_EMPTY_PATH. 2021-11-17 15:51:18 -08:00
linuxkpi/common LinuxKPI: make bcd.h use libkern 2021-11-18 23:10:34 +00:00
x86bios Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00