aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2022-05-05 11:55:23 +0800
committerPalmer Dabbelt <palmer@rivosinc.com>2022-05-21 10:31:46 -0700
commit1d7f6932c522ea95668e14265175ce3d753d0c24 (patch)
tree1e086c935a6ee78823da19e88172fcacb5172800 /scripts/patch-kernel
parentriscv: atomic: Cleanup unnecessary definition (diff)
downloadlinux-1d7f6932c522ea95668e14265175ce3d753d0c24.tar.gz
linux-1d7f6932c522ea95668e14265175ce3d753d0c24.zip
riscv: atomic: Optimize dec_if_positive functions
Current implementation wastes another register to pass the argument, but we only need addi to calculate the result. Optimize the code with minimize the usage of registers. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Signed-off-by: Guo Ren <guoren@kernel.org> Link: https://lore.kernel.org/r/20220505035526.2974382-3-guoren@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
ver.c?id=78ed8bd2944b6400f742306e5fe9d1b9b6bf18ba&follow=1'>ACPI: processor: move acpi_get_cpuid into processor_core.cAlex Chiang2-159/+160 2010-03-14ACPI: processor: export acpi_get_cpuid()Alex Chiang2-6/+12 2010-03-14ACPI: processor: mv processor_pdc.c processor_core.cAlex Chiang3-3/+3 2010-03-14ACPI: processor: mv processor_core.c processor_driver.cAlex Chiang2-2/+2 2010-03-14ACPI: plan to delete "acpi=ht" boot optionLen Brown2-1/+10 2010-03-14ACPI: remove "acpi=ht" DMI blacklistLen Brown1-93/+0 2010-03-14PNPACPI: add bus number supportBjorn Helgaas5-2/+47 2010-03-14PNPACPI: add window supportBjorn Helgaas2-17/+24 2010-03-14resource: add window supportBjorn Helgaas2-1/+4 2010-03-14resource: add bus number supportBjorn Helgaas2-0/+10 2010-03-14resource: expand IORESOURCE_TYPE_BITS to make room for bus resource typeBjorn Helgaas1-8/+8 2010-03-15tomoyo: fix potential use after freeDan Carpenter1-0/+1 2010-03-14acpiphp: Execute ACPI _REG method for hotadded devicesShaohua Li1-0/+19 2010-03-14ACPI video: Be more liberal in validating _BQC behaviourMatthew Garrett1-11/+17 2010-03-14Add include to i2c-xii.c to fix build errorRandy Dunlap1-0/+1