summaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/linux/local_lock.h
blob: b3cf8b233ca4754bda14e810d59e95e2827b4d9d (plain)
1
2
3
4
5
6
7
8
#ifndef _LINUX_LOCAL_LOCK
#define _LINUX_LOCAL_LOCK
typedef struct { } local_lock_t;

static inline void local_lock(local_lock_t *lock) { }
static inline void local_unlock(local_lock_t *lock) { }
#define INIT_LOCAL_LOCK(x) { }
#endif