summaryrefslogtreecommitdiffstats
path: root/core/test/run-mem_region.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/test/run-mem_region.c')
-rw-r--r--core/test/run-mem_region.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/test/run-mem_region.c b/core/test/run-mem_region.c
index e27459b2..b98fe71b 100644
--- a/core/test/run-mem_region.c
+++ b/core/test/run-mem_region.c
@@ -72,6 +72,11 @@ void unlock(struct lock *l)
l->lock_val--;
}
+bool lock_held_by_me(struct lock *l __attribute__((unused)))
+{
+ return true;
+}
+
#define TEST_HEAP_ORDER 12
#define TEST_HEAP_SIZE (1ULL << TEST_HEAP_ORDER)
OpenPOWER on IntegriCloud