summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2016-04-08 16:18:24 +0200
committerSteven Rostedt <rostedt@goodmis.org>2016-07-12 17:00:25 -0400
commit56528cf9b1ceb44603743cfcd59ddfeea7d21209 (patch)
tree67fdd9f84e4aefa7671cfb1c22fbbb9efb1f9a46
parent5b2c3c7909c9428123587c08b1b651a2e31eb46e (diff)
downloadlinux-rt-56528cf9b1ceb44603743cfcd59ddfeea7d21209.tar.gz
drivers/block/zram: fixup compile for !RT
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--drivers/block/zram/zram_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/zram/zram_drv.h b/drivers/block/zram/zram_drv.h
index 1251d718f4bd..73e7e70d9a8d 100644
--- a/drivers/block/zram/zram_drv.h
+++ b/drivers/block/zram/zram_drv.h
@@ -135,7 +135,7 @@ static inline void zram_unlock_table(struct zram_table_entry *table)
bit_spin_unlock(ZRAM_ACCESS, &table->value);
}
-static inline void zram_meta_init_locks(struct zram_meta *meta, u64 disksize) { }
+static inline void zram_meta_init_table_locks(struct zram_meta *meta, u64 disksize) { }
#else /* CONFIG_PREEMPT_RT_BASE */
static inline void zram_lock_table(struct zram_table_entry *table)
{