OpenCloudOS-Kernel/arch/riscv
Palmer Dabbelt 8356c379cf
RISC-V: gp_in_global needs register keyword
The Intel kernel build robot recently pointed out that I missed the
register keyword on this one when I refactored the code to remove local
register variables (which aren't supported by LLVM).  GCC's manual
indicates that global register variables must have the register keyword,
As far as I can tell lacking the register keyword causes GCC to ignore
the __asm__ and treat this as a regular variable, but I'm not sure how
that didn't show up as some sort of failure.

Fixes: 52e7c52d2d ("RISC-V: Stop relying on GCC's register allocator's hueristics")
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2020-05-21 13:28:26 -07:00
..
boot RISC-V Patches for the 5.7 Merge Window, Part 1 2020-04-09 10:51:30 -07:00
configs RISC-V Patches for the 5.7 Merge Window, Part 1 2020-04-09 10:51:30 -07:00
include riscv: mmiowb: Fix implicit declaration of function 'smp_processor_id' 2020-05-13 17:11:46 -07:00
kernel RISC-V: gp_in_global needs register keyword 2020-05-21 13:28:26 -07:00
lib RISC-V Patches for the 5.7 Merge Window, Part 1 2020-04-09 10:51:30 -07:00
mm riscv: Fix print_vm_layout build error if NOMMU 2020-05-20 15:45:19 -07:00
net riscv, bpf: Fix offset range checking for auipc+jalr on RV64 2020-04-08 00:53:41 +02:00
Kbuild riscv: add arch/riscv/Kbuild 2019-08-30 17:34:00 -07:00
Kconfig riscv: Make SYS_SUPPORTS_HUGETLBFS depends on MMU 2020-05-12 17:41:24 -07:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Kconfig.socs riscv: Fix unmet direct dependencies built based on SOC_VIRT 2020-05-12 16:32:29 -07:00
Makefile RISC-V Patches for the 5.7 Merge Window, Part 1 2020-04-09 10:51:30 -07:00