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.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux

Pull RISC-V fixes from Palmer Dabbelt:
"Two fixes:

- Another !MMU build fix that was a straggler from last week

- A fix to use the "register" keyword for the GP global register
variable"

* tag 'riscv-for-linus-5.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
RISC-V: gp_in_global needs register keyword
riscv: Fix print_vm_layout build error if NOMMU

+2 -2
+1 -1
arch/riscv/kernel/process.c
··· 22 22 #include <asm/switch_to.h> 23 23 #include <asm/thread_info.h> 24 24 25 - unsigned long gp_in_global __asm__("gp"); 25 + register unsigned long gp_in_global __asm__("gp"); 26 26 27 27 extern asmlinkage void ret_from_fork(void); 28 28 extern asmlinkage void ret_from_kernel_thread(void);
+1 -1
arch/riscv/mm/init.c
··· 47 47 memset((void *)empty_zero_page, 0, PAGE_SIZE); 48 48 } 49 49 50 - #ifdef CONFIG_DEBUG_VM 50 + #if defined(CONFIG_MMU) && defined(CONFIG_DEBUG_VM) 51 51 static inline void print_mlk(char *name, unsigned long b, unsigned long t) 52 52 { 53 53 pr_notice("%12s : 0x%08lx - 0x%08lx (%4ld kB)\n", name, b, t,