summaryrefslogtreecommitdiffstats
path: root/kernel/rcutiny.c
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2024-02-07 14:46:52 +0106
committerSasha Levin <sashal@kernel.org>2024-03-26 18:19:00 -0400
commit7c13750947dd4b7d919e99762f235837c3a0f6c5 (patch)
treecd142ce7fa653444d8c2e5ed7fa8e525ea7472ec /kernel/rcutiny.c
parent102f2d83dfec1f311c434dc13c53233a4f8c0a3f (diff)
downloadlinux-stable-7c13750947dd4b7d919e99762f235837c3a0f6c5.tar.gz
linux-stable-7c13750947dd4b7d919e99762f235837c3a0f6c5.tar.bz2
linux-stable-7c13750947dd4b7d919e99762f235837c3a0f6c5.zip
printk: Use prb_first_seq() as base for 32bit seq macros
[ Upstream commit 90ad525c2d9a8a6591ab822234a94b82871ef8e0 ] Note: This change only applies to 32bit architectures. On 64bit architectures the macros are NOPs. Currently prb_next_seq() is used as the base for the 32bit seq macros __u64seq_to_ulseq() and __ulseq_to_u64seq(). However, in a follow-up commit, prb_next_seq() will need to make use of the 32bit seq macros. Use prb_first_seq() as the base for the 32bit seq macros instead because it is guaranteed to return 64bit sequence numbers without relying on any 32bit seq macros. Signed-off-by: John Ogness <john.ogness@linutronix.de> Reviewed-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20240207134103.1357162-4-john.ogness@linutronix.de Signed-off-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/rcutiny.c')
0 files changed, 0 insertions, 0 deletions