aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-05-19 12:12:06 +0200
committerHelge Deller <deller@gmx.de>2023-05-23 18:17:32 +0200
commitb6405f0829d7b1dd926ba3ca5f691cab835abfaa (patch)
treea2e61c72d7173edcb571bf28d4dae6a946c01867 /scripts/gdb/linux/vmalloc.py
parentd703797380c540bbeac03f104ebcfc364eaf47cc (diff)
parisc: Use num_present_cpus() in alternative patching code
When patching the kernel code some alternatives depend on SMP vs. !SMP. Use the value of num_present_cpus() instead of num_online_cpus() to decide, otherwise we may run into issues if and additional CPU is enabled after having loaded a module while only one CPU was enabled. Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org> # v6.1+
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions