diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-04-20 09:38:27 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-05-20 12:32:32 +0100 |
commit | 952f03316352c606bebef56ba8f9642edbb8e348 (patch) | |
tree | 717fda7289bf603b9da924e4ad32c7d909656e67 /drivers/pci/bus.c | |
parent | 7719a68b2fa404fa8af6b0b7119a38c406c74858 (diff) |
ARM: 9194/1: assembler: simplify ldr_this_cpu for !SMP builds
When CONFIG_SMP is not defined, the CPU offset is always zero, and so
we can simplify the sequence to load a per-CPU variable.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/pci/bus.c')
0 files changed, 0 insertions, 0 deletions