opnsense-src/sys/compat/linuxkpi/common/include/linux/nospec.h
Emmanuel Vadot 988ccb61b5 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

(cherry picked from commit aec6a64c68)
2022-09-07 17:09:03 +02:00

8 lines
167 B
C

/* Public domain. */
#ifndef _LINUXKPI_LINUX_NOSPEC_H_
#define _LINUXKPI_LINUX_NOSPEC_H_
#define array_index_nospec(a, b) (a)
#endif /* _LINUXKPILINUX_NOSPEC_H_ */