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 'sh-for-v7.1-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux

Pull sh fix from John Paul Adrian Glaubitz:
"The ZERO_PAGE consolidation in v7.1, introduced a regression on sh
which made these systems unbootable.

The problem was that on sh, the initial boot parameters were
previously referenced as an array and after 6215d9f4470f ("arch, mm:
consolidate empty_zero_page"), they were referenced as a pointer which
caused wrong code generation and boot hang.

This changes the declaration back to being an array which fixes the
boot hang"

* tag 'sh-for-v7.1-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux:
sh: Fix fallout from ZERO_PAGE consolidation

+1 -1
+1 -1
arch/sh/include/asm/setup.h
··· 7 7 /* 8 8 * This is set up by the setup-routine at boot-time 9 9 */ 10 - extern unsigned char *boot_params_page; 10 + extern unsigned char boot_params_page[]; 11 11 #define PARAM boot_params_page 12 12 13 13 #define MOUNT_ROOT_RDONLY (*(unsigned long *) (PARAM+0x000))