summaryrefslogtreecommitdiff
path: root/libbcachefs/clock_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/clock_types.h')
-rw-r--r--libbcachefs/clock_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/clock_types.h b/libbcachefs/clock_types.h
index 9c25d0fc..37554e45 100644
--- a/libbcachefs/clock_types.h
+++ b/libbcachefs/clock_types.h
@@ -24,7 +24,7 @@ struct io_timer {
/* Amount to buffer up on a percpu counter */
#define IO_CLOCK_PCPU_SECTORS 128
-typedef HEAP(struct io_timer *) io_timer_heap;
+typedef DEFINE_MIN_HEAP(struct io_timer *, io_timer_heap) io_timer_heap;
struct io_clock {
atomic64_t now;