summaryrefslogtreecommitdiff
path: root/backport-include/linux/percpu-defs.h
blob: 87a92e07e04fb76edad56c4dec658d46c1cdd003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __BACKPORT_PERCPU_DEFS_H
#define __BACKPORT_PERCPU_DEFS_H
#include_next <linux/percpu-defs.h>

/* override this with the array-safe version */
#undef __verify_pcpu_ptr
#define __verify_pcpu_ptr(ptr)						\
do {									\
	const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;	\
	(void)__vpp_verify;						\
} while (0)

#endif /* __BACKPORT_PERCPU_DEFS_H */