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:
parent
4aa82e4358
commit
aec6a64c68
8
sys/compat/linuxkpi/common/include/linux/nospec.h
Normal file
8
sys/compat/linuxkpi/common/include/linux/nospec.h
Normal 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_ */
|
Loading…
Reference in New Issue
Block a user