linuxkpi: Add linux/nospec.h

Needed by drm-kmod.

Reviewed by:	hselasky
Obtained from:	OpenBSD
Sponsored by:	Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D35940
This commit is contained in:
Emmanuel Vadot 2022-07-26 10:13:49 +02:00
parent 4aa82e4358
commit aec6a64c68

View File

@ -0,0 +1,8 @@
/* Public domain. */
#ifndef _LINUXKPI_LINUX_NOSPEC_H_
#define _LINUXKPI_LINUX_NOSPEC_H_
#define array_index_nospec(a, b) (a)
#endif /* _LINUXKPILINUX_NOSPEC_H_ */