未验证 提交 93cc2559 编写于 作者: T Thomas Gleixner 提交者: Mark Brown

spi: Remove the obsolte u64_stats_fetch_*_irq() users.

Now that the 32bit UP oddity is gone and 32bit uses always a sequence
count, there is no need for the fetch_irq() variants anymore.

Convert to the regular interface.

Cc: Mark Brown <broonie@kernel.org>
Cc: linux-spi@vger.kernel.org
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221026122951.331638-1-bigeasy@linutronix.deSigned-off-by: NMark Brown <broonie@kernel.org>
上级 55201afd
...@@ -127,10 +127,10 @@ do { \ ...@@ -127,10 +127,10 @@ do { \
unsigned int start; \ unsigned int start; \
pcpu_stats = per_cpu_ptr(in, i); \ pcpu_stats = per_cpu_ptr(in, i); \
do { \ do { \
start = u64_stats_fetch_begin_irq( \ start = u64_stats_fetch_begin( \
&pcpu_stats->syncp); \ &pcpu_stats->syncp); \
inc = u64_stats_read(&pcpu_stats->field); \ inc = u64_stats_read(&pcpu_stats->field); \
} while (u64_stats_fetch_retry_irq( \ } while (u64_stats_fetch_retry( \
&pcpu_stats->syncp, start)); \ &pcpu_stats->syncp, start)); \
ret += inc; \ ret += inc; \
} \ } \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册