Files
Mike Rapoport (Microsoft) b0aa5e4b08 sh: Fix fallout from ZERO_PAGE consolidation
Consolidation of empty_zero_page declarations broke boot on sh.

sh stores its initial boot parameters in a page reserved in
arch/sh/kernel/head_32.S. Before commit 6215d9f447 ("arch, mm:
consolidate empty_zero_page") this page was referenced in C code
as an array and after that commit it is referenced as a pointer.

This causes wrong code generation and boot hang.

Declare boot_params_page as an array to fix the issue.

Reported-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Tested-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Fixes: 6215d9f447 ("arch, mm: consolidate empty_zero_page")
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Artur Rojek <contact@artur-rojek.eu>
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2026-05-03 16:35:40 +02:00
..
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2024-09-13 07:10:38 -07:00
2024-05-02 12:01:25 +02:00
2020-06-01 14:48:52 -04:00
2025-09-13 16:55:07 -07:00
2024-11-07 14:25:15 -08:00
2023-01-10 05:31:42 -06:00
2020-06-01 14:48:52 -04:00
2019-07-01 17:51:40 +02:00
2018-12-28 12:11:45 -08:00
2023-03-08 08:44:24 -08:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2023-11-23 11:32:32 +01:00
2020-06-01 14:48:52 -04:00
2022-02-25 09:36:06 +01:00
2022-01-30 21:17:00 -05:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00