]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
percpu: merge VERIFY_PERCPU_PTR() into its only user
authorUros Bizjak <ubizjak@gmail.com>
Mon, 21 Oct 2024 08:07:36 +0000 (10:07 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 6 Nov 2024 01:12:34 +0000 (17:12 -0800)
commit74ef070e325465a1b364db6a5c6859785537f835
tree0ebe1cd8e6af2655e1a47c78b80e1432ffce3eb4
parent8f0d91f41000e769f16b62a4b44f1f6da6db905b
percpu: merge VERIFY_PERCPU_PTR() into its only user

Merge VERIFY_PERCPU_PTR() into non-CONFIG_SMP per_cpu_ptr() to make macro
similar to CONFIG_SMP per_cpu_ptr().  This will allow a follow-up patch to
refactor common code to a macro.

No functional changes, non-CONFIG_SMP per_cpu_ptr() was the only user of
VERIFY_PERCPU_PTR().

Link: https://lkml.kernel.org/r/20241021080856.48746-1-ubizjak@gmail.com
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Dennis Zhou <dennis@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/percpu-defs.h