mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-01-15 12:25:41 +01:00
These were added to the kernel code in cee34d88c ("lockdep: Fix a race between
/proc/lock_stat and module unload"). There's nothing special we need to do
about them in userspace.
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
10 lines
218 B
C
10 lines
218 B
C
#ifndef _LIBLOCKDEP_LINUX_COMPILER_H_
|
|
#define _LIBLOCKDEP_LINUX_COMPILER_H_
|
|
|
|
#define __used __attribute__((__unused__))
|
|
#define unlikely
|
|
#define WRITE_ONCE(x, val) x=(val)
|
|
#define RCU_INIT_POINTER(p, v) p=(v)
|
|
|
|
#endif
|