]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/percpu: Unify percpu read-write accessors
authorUros Bizjak <ubizjak@gmail.com>
Tue, 30 Apr 2024 09:17:22 +0000 (11:17 +0200)
committerIngo Molnar <mingo@kernel.org>
Sat, 18 May 2024 09:18:41 +0000 (11:18 +0200)
commita50ea641296699af1947336c2e75f6234f53548a
treefb76e7d49b07645e93eb3de8f187db500c94cd79
parent08d564ad699ef32ceaf99d238b3d9c1f4ce5c998
x86/percpu: Unify percpu read-write accessors

Redefine percpu_from_op() and percpu_to_op() as __raw_cpu_read()
and __raw_cpu_write().  Unify __raw_cpu_{read,write}() macros
between configs w/ and w/o USE_X86_SEG_SUPPORT in order to
unify {raw,this}_cpu{read_write}_N() accessors between configs.

No functional change intended.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20240430091833.196482-3-ubizjak@gmail.com
arch/x86/include/asm/percpu.h