summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2024-02-05 12:39:30 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-02-19 18:05:47 +0100
commitb57b4126dd3bb69db876ae7b271307ab7e0458b9 (patch)
tree3ea34357cee35125db2d5afbb170cb01bd8455a7 /kernel/cpu.c
parentda92df490eeab7a97a3390ff32e0ae091e0dc2eb (diff)
downloadlinux-stable-b57b4126dd3bb69db876ae7b271307ab7e0458b9.tar.gz
linux-stable-b57b4126dd3bb69db876ae7b271307ab7e0458b9.tar.bz2
linux-stable-b57b4126dd3bb69db876ae7b271307ab7e0458b9.zip
smp: Make __smp_processor_id() 0-argument macro
smp_processor_id family of macros never accepted any arguments. #define __smp_processor_id(x) works by accident (see C99 6.10.3 ยง4). __smp_processor_id() gets 1 (empty) argument and passes it down to raw_smp_processor_id() which doesn't accept arguments. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/0037d1f2-8153-4b33-b43e-f4b6ecd710ac@p183
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions