radix tree test suite: Fix compilation
Introducing local_lock broke compilation; fix it all up. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
This commit is contained in:
8
tools/testing/radix-tree/linux/local_lock.h
Normal file
8
tools/testing/radix-tree/linux/local_lock.h
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user