Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/compiler.h
Show All 28 Lines | |||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _LINUX_COMPILER_H_ | #ifndef _LINUX_COMPILER_H_ | ||||
#define _LINUX_COMPILER_H_ | #define _LINUX_COMPILER_H_ | ||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
#ifndef __LinuxKPI_version | |||||
#define __LinuxKPI_version 40009 | |||||
imp: The commit comment says it is for 4.15, but this looks like 4.9.
| |||||
Done Inline ActionsYes but we need to keep 4.9 compatibility for things in the kernel still using the old KPI. johalun0_gmail.com: Yes but we need to keep 4.9 compatibility for things in the kernel still using the old KPI. | |||||
#endif | |||||
#define __user | #define __user | ||||
#define __kernel | #define __kernel | ||||
#define __safe | #define __safe | ||||
#define __force | #define __force | ||||
#define __nocast | #define __nocast | ||||
#define __iomem | #define __iomem | ||||
#define __chk_user_ptr(x) ((void)0) | #define __chk_user_ptr(x) ((void)0) | ||||
#define __chk_io_ptr(x) ((void)0) | #define __chk_io_ptr(x) ((void)0) | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |
The commit comment says it is for 4.15, but this looks like 4.9.