Skip to content

Commit f377d00

Browse files
committed
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 6215d9f ("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
2 parents 8111292 + b0aa5e4 commit f377d00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/sh/include/asm/setup.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/*
88
* This is set up by the setup-routine at boot-time
99
*/
10-
extern unsigned char *boot_params_page;
10+
extern unsigned char boot_params_page[];
1111
#define PARAM boot_params_page
1212

1313
#define MOUNT_ROOT_RDONLY (*(unsigned long *) (PARAM+0x000))

0 commit comments

Comments
 (0)