Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'riscv-for-linus-5.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux

Pull RISC-V fixes from Palmer Dabbelt:

- avoid passing -mno-relax to compilers that don't support it

- a comment fix

* tag 'riscv-for-linus-5.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
riscv: Fix comment regarding kernel mapping overlapping with IS_ERR_VALUE
riscv: kexec: do not add '-mno-relax' flag if compiler doesn't support it

+2 -2
+1 -1
arch/riscv/kernel/Makefile
··· 11 11 CFLAGS_syscall_table.o += $(call cc-option,-Wno-override-init,) 12 12 13 13 ifdef CONFIG_KEXEC 14 - AFLAGS_kexec_relocate.o := -mcmodel=medany -mno-relax 14 + AFLAGS_kexec_relocate.o := -mcmodel=medany $(call cc-option,-mno-relax) 15 15 endif 16 16 17 17 extra-y += head.o
+1 -1
arch/riscv/mm/init.c
··· 197 197 * if end of dram is equal to maximum addressable memory. For 64-bit 198 198 * kernel, this problem can't happen here as the end of the virtual 199 199 * address space is occupied by the kernel mapping then this check must 200 - * be done in create_kernel_page_table. 200 + * be done as soon as the kernel mapping base address is determined. 201 201 */ 202 202 max_mapped_addr = __pa(~(ulong)0); 203 203 if (max_mapped_addr == (phys_ram_end - 1))