freebsd-dev/sys/compat/linuxkpi/common/include
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
..
acpi LinuxKPI: Implement ACPI bits required by drm-kmod in base system 2020-11-09 13:20:14 +00:00
asm LinuxKPI: Add dummy pgprot_decrypted() implementation 2021-09-29 23:14:58 +03:00
linux LinuxKPI: make bcd.h use libkern 2021-11-18 23:10:34 +00:00
net LinuxKPI: add nexthdr definitions for IPv6 2021-07-27 15:00:21 +00:00