Ard Biesheuvel
c59843e877
x86/boot: Rename conflicting 'boot_params' pointer to 'boot_params_ptr'
...
commit d55d5bc5d937743aa8ebb7ca3af25111053b5d8c upstream.
The x86 decompressor is built and linked as a separate executable, but
it shares components with the kernel proper, which are either #include'd
as C files, or linked into the decompresor as a static library (e.g, the
EFI stub)
Both the kernel itself and the decompressor define a global symbol
'boot_params' to refer to the boot_params struct, but in the former
case, it refers to the struct directly, whereas in the decompressor, it
refers to a global pointer variable referring to the struct boot_params
passed by the bootloader or constructed from scratch.
This ambiguity is unfortunate, and makes it impossible to assign this
decompressor variable from the x86 EFI stub, given that declaring it as
extern results in a clash. So rename the decompressor version (whose
scope is limited) to boot_params_ptr.
[ mingo: Renamed 'boot_params_p' to 'boot_params_ptr' for clarity ]
Signed-off-by: Ard Biesheuvel <ardb@kernel.org >
Signed-off-by: Ingo Molnar <mingo@kernel.org >
Cc: linux-kernel@vger.kernel.org
[ardb: include references to boot_params in x86-stub.[ch]]
Signed-off-by: Ard Biesheuvel <ardb@kernel.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2025-03-13 12:58:40 +01:00
..
2022-06-17 14:24:14 -05:00
2024-10-10 11:57:29 +02:00
2015-09-22 22:25:33 +02:00
2024-12-09 10:32:20 +01:00
2021-10-20 22:35:04 +02:00
2023-08-22 10:39:26 +02:00
2023-06-05 21:11:07 +02:00
2024-12-19 18:11:36 +01:00
2022-04-07 08:27:54 -07:00
2024-10-04 16:29:43 +02:00
2022-08-04 11:11:59 +02:00
2023-02-13 22:13:12 +01:00
2024-06-21 14:38:34 +02:00
2022-03-02 11:42:36 +01:00
2024-12-09 10:31:37 +01:00
2022-09-29 12:20:54 +02:00
2025-03-07 16:45:54 +01:00
2023-05-22 14:06:33 +02:00
2018-07-16 17:59:57 +02:00
2019-05-13 11:07:33 +02:00
2022-07-25 13:26:14 +02:00
2024-12-09 10:31:41 +01:00
2024-04-03 15:28:50 +02:00
2024-06-21 14:38:34 +02:00
2023-06-05 09:57:24 +02:00
2023-06-05 09:57:24 +02:00
2023-08-30 10:11:16 +02:00
2024-04-27 17:11:41 +02:00
2017-11-02 11:10:55 +01:00
2022-09-20 15:35:37 +02:00
2025-03-13 12:58:40 +01:00
2023-03-30 12:58:51 -06:00
2024-11-08 16:28:26 +01:00
2023-06-16 10:15:59 +02:00
2020-10-25 14:51:49 -07:00
2020-06-08 11:05:57 -07:00
2022-11-10 13:12:45 +01:00
2017-11-02 11:10:55 +01:00
2022-09-26 10:13:16 -07:00
2020-08-20 15:45:18 -04:00
2023-01-27 11:19:46 +00:00
2022-10-03 14:03:24 -07:00
2020-03-21 15:23:54 +01:00
2017-11-02 11:10:55 +01:00
2023-06-05 09:36:39 +02:00
2024-06-12 11:11:40 +02:00
2023-06-05 09:36:39 +02:00
2024-05-02 16:32:47 +02:00
2022-05-31 14:10:54 -07:00
2024-06-27 13:49:14 +02:00
2022-12-15 10:37:26 -08:00
2025-03-07 16:45:51 +01:00
2024-06-21 14:38:34 +02:00
2024-10-22 15:46:26 +02:00
2022-11-29 20:41:24 +01:00
2019-09-03 09:36:36 +02:00
2023-05-15 13:44:52 +02:00
2021-06-07 12:14:45 +02:00
2022-10-17 16:41:15 +02:00
2023-02-21 14:51:40 -08:00
2020-05-07 16:06:20 +02:00
2020-09-07 22:44:43 +02:00
2021-07-02 12:08:10 -07:00
2020-06-30 11:59:48 +02:00
2024-04-10 16:35:47 +02:00
2023-08-03 12:08:35 +02:00
2023-02-15 12:35:20 +01:00
2022-07-22 17:24:47 -05:00
2018-08-05 09:53:13 +02:00
2023-05-18 11:56:18 -07:00
2020-04-09 00:01:59 +09:00
2017-11-02 11:10:55 +01:00
2024-06-27 13:49:13 +02:00
2022-12-12 18:18:34 -08:00
2021-01-06 08:40:56 -05:00
2017-11-02 11:10:55 +01:00
2019-10-17 21:31:57 +02:00
2020-11-18 18:02:50 +01:00
2024-07-05 09:33:54 +02:00
2017-12-22 20:13:05 +01:00
2022-08-16 11:03:38 -07:00
2022-05-27 12:34:45 +02:00
2023-04-26 15:07:57 +02:00
2021-02-09 15:28:37 +01:00
2021-04-20 08:59:03 -06:00
2020-09-18 09:59:40 +02:00
2020-08-24 18:18:32 +02:00
2023-06-30 10:33:17 -07:00
2021-12-11 09:09:47 +01:00
2022-04-18 07:21:10 +02:00
2021-10-28 23:25:26 +02:00
2019-05-30 11:29:53 -07:00
2023-01-13 10:07:27 +01:00
2024-10-04 16:29:58 +02:00
2022-04-13 12:15:50 -07:00
2020-10-28 20:26:25 +01:00
2020-06-03 20:09:46 -07:00
2022-08-30 10:56:22 +02:00
2023-08-06 14:15:09 +02:00
2022-11-17 13:58:32 +01:00
2023-08-25 00:04:56 +00:00
2019-07-17 08:09:59 +02:00
2023-10-27 20:36:49 +02:00
2017-11-02 11:10:55 +01:00
2023-12-13 18:45:02 +01:00
2023-07-10 09:52:23 +02:00
2024-10-04 16:29:58 +02:00
2019-06-05 17:37:17 +02:00
2019-05-30 11:26:35 -07:00
2021-03-15 11:00:57 +01:00
2024-04-10 16:36:07 +02:00
2023-01-03 18:46:06 +01:00
2022-01-23 20:38:01 +01:00
2020-11-26 12:58:56 +01:00
2022-02-02 13:11:43 +01:00
2021-03-18 15:31:53 +01:00
2022-02-15 17:47:11 +01:00
2017-11-02 11:10:55 +01:00
2021-02-15 20:10:30 +01:00
2020-04-24 11:18:44 +01:00
2025-01-02 10:32:08 +01:00
2023-03-22 11:08:40 -07:00
2020-05-12 16:05:30 +02:00
2023-08-09 11:58:16 -07:00
2020-07-18 12:31:49 +02:00
2023-08-18 10:12:32 -07:00
2020-11-06 23:14:58 +01:00
2022-10-21 10:49:35 +02:00
2020-07-18 07:17:16 +02:00
2022-12-05 22:22:33 +01:00
2024-06-21 14:38:34 +02:00
2023-08-06 14:15:10 +02:00
2024-02-05 20:14:17 +00:00
2023-08-18 10:19:00 -07:00
2022-11-17 15:15:22 +01:00
2023-01-13 11:48:15 +01:00
2019-05-24 17:39:02 +02:00
2018-04-23 10:17:28 +02:00
2024-02-23 09:24:47 +01:00
2022-12-15 10:37:26 -08:00
2020-06-09 09:39:13 -07:00
2017-11-02 11:10:55 +01:00
2023-06-16 17:17:42 +02:00
2020-07-22 23:56:53 +02:00
2018-04-13 17:10:27 -07:00
2025-02-17 09:40:09 +01:00
2021-07-30 17:09:01 +02:00
2017-11-02 11:10:55 +01:00
2024-02-05 20:14:38 +00:00
2022-09-26 13:20:52 -04:00
2025-02-17 09:40:43 +01:00
2023-08-31 14:08:19 -04:00
2022-04-07 08:27:52 -07:00
2020-07-09 13:29:42 -04:00
2019-02-20 22:47:38 +01:00
2023-11-28 17:19:56 +00:00
2024-01-25 15:35:48 -08:00
2023-01-31 15:01:47 +01:00
2023-09-18 19:30:08 +02:00
2023-07-10 09:52:36 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2022-08-14 11:24:29 +02:00
2023-05-18 11:56:18 -07:00
2024-04-10 16:36:07 +02:00
2022-11-10 13:12:45 +01:00
2025-03-09 09:55:04 +01:00
2017-11-02 11:10:55 +01:00
2023-09-06 23:50:46 +02:00
2017-11-02 11:10:55 +01:00
2025-02-21 13:57:12 +01:00
2025-02-21 13:57:12 +01:00
2020-05-28 18:34:30 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-04-23 10:50:26 +09:00
2018-01-14 21:11:54 +01:00
2023-08-09 11:58:25 -07:00
2024-09-18 19:24:07 +02:00
2022-12-05 22:22:34 +01:00
2025-02-21 13:57:13 +01:00
2017-11-02 11:10:55 +01:00
2022-04-06 12:59:17 +02:00
2023-06-01 15:04:33 +02:00
2024-01-25 15:35:12 -08:00
2022-05-17 09:25:25 +02:00
2023-05-31 10:21:21 +02:00
2024-10-22 15:46:34 +02:00
2017-11-02 11:10:55 +01:00
2023-11-28 17:19:36 +00:00
2017-11-02 11:10:55 +01:00
2019-05-20 17:27:08 +03:00
2023-06-16 17:17:42 +02:00
2019-05-21 11:28:45 +02:00
2023-03-23 23:18:58 +01:00
2020-10-29 21:54:35 +01:00
2023-02-09 16:51:41 -08:00
2023-03-30 12:58:51 -06:00
2024-09-12 11:11:25 +02:00
2022-12-15 10:37:27 -08:00
2024-03-26 18:19:19 -04:00
2022-02-23 10:58:28 +01:00
2023-09-19 07:04:49 +02:00
2023-08-03 16:50:19 +02:00
2017-11-02 11:10:55 +01:00
2021-08-10 23:31:43 +02:00
2022-06-17 14:24:14 -05:00
2018-06-29 20:06:07 -05:00
2017-11-02 11:10:55 +01:00
2022-12-05 22:22:33 +01:00
2023-06-05 09:36:39 +02:00
2017-11-02 11:10:55 +01:00
2025-02-27 04:10:53 -08:00
2021-07-01 11:06:03 -07:00
2019-12-10 10:12:55 +01:00
2019-12-10 10:12:55 +01:00
2022-11-08 17:37:18 -08:00
2024-09-12 11:11:25 +02:00
2023-05-08 15:25:24 +02:00
2022-12-15 10:37:26 -08:00
2024-12-14 19:59:58 +01:00
2020-06-02 10:59:11 -07:00
2023-02-02 22:33:10 -08:00
2022-12-15 10:37:27 -08:00
2023-02-02 22:33:10 -08:00
2018-08-17 10:27:36 -07:00
2024-08-19 06:04:29 +02:00
2022-04-04 15:58:24 -07:00
2021-12-19 22:44:34 +01:00
2021-02-15 20:09:46 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2024-08-11 12:47:14 +02:00
2022-10-17 16:41:04 +02:00
2017-11-02 11:10:55 +01:00
2021-08-10 23:31:43 +02:00
2023-03-16 13:08:39 -07:00
2025-01-02 10:32:08 +01:00
2019-05-30 11:26:32 -07:00
2023-12-13 18:45:02 +01:00
2019-10-01 20:31:35 +02:00
2025-01-09 13:31:52 +01:00
2019-11-14 18:24:43 +01:00
2017-11-02 11:10:55 +01:00
2023-01-31 15:01:47 +01:00
2017-11-02 11:10:55 +01:00
2023-08-03 17:15:05 +02:00
2024-08-14 13:58:59 +02:00
2023-05-15 13:45:03 +02:00
2017-11-02 11:10:55 +01:00
2023-08-03 15:37:14 -07:00
2024-04-10 16:35:47 +02:00
2023-03-08 11:48:11 -08:00
2024-02-23 09:24:47 +01:00
2020-11-20 11:16:34 -08:00
2023-08-21 13:46:24 -07:00
2023-08-08 09:31:43 +02:00
2017-11-02 11:10:55 +01:00
2022-12-15 10:37:27 -08:00
2025-03-09 09:55:03 +01:00
2023-06-06 18:28:25 +02:00
2024-04-10 16:36:07 +02:00
2022-11-04 15:33:30 -07:00
2017-11-02 11:10:55 +01:00
2024-08-03 08:53:48 +02:00
2017-11-02 11:10:55 +01:00
2023-06-16 10:16:00 +02:00
2022-10-19 09:58:49 +02:00
2022-10-19 09:58:48 +02:00
2017-11-02 11:10:55 +01:00
2022-04-04 10:16:57 +02:00
2023-10-15 12:02:02 -07:00
2021-02-10 23:34:17 +01:00
2024-06-12 11:11:50 +02:00
2025-03-13 12:58:21 +01:00
2025-01-23 17:21:14 +01:00
2020-05-28 21:18:40 +02:00
2017-11-07 10:32:44 +01:00
2017-11-02 11:10:55 +01:00
2022-11-18 02:18:10 +01:00
2021-09-21 13:57:43 +02:00
2024-12-19 18:11:36 +01:00
2021-12-11 09:09:45 +01:00
2023-03-28 16:20:11 -07:00
2017-11-02 11:10:55 +01:00
2024-04-03 15:28:37 +02:00
2022-04-27 13:55:19 +02:00
2018-10-03 11:56:34 +02:00
2023-10-12 11:08:59 -04:00
2023-07-10 09:52:25 +02:00
2019-04-10 09:53:31 +02:00
2024-12-19 18:11:36 +01:00
2024-01-31 16:19:14 -08:00
2024-10-10 11:57:30 +02:00
2020-03-21 16:03:25 +01:00
2023-06-06 18:25:57 +02:00
2023-01-31 15:05:30 +01:00
2021-05-31 22:32:26 +02:00
2023-06-09 17:44:16 -07:00
2023-06-09 17:44:16 -07:00
2017-11-13 19:07:38 -08:00
2022-05-13 23:59:23 +02:00
2025-01-09 13:31:38 +01:00
2017-11-02 11:10:55 +01:00
2025-02-21 13:57:12 +01:00
2023-07-28 09:53:37 +02:00
2017-11-02 11:10:55 +01:00
2023-07-11 14:12:19 -07:00
2020-09-07 19:45:25 +02:00
2023-08-17 17:07:09 +02:00
2023-06-28 10:59:38 -07:00
2023-05-03 10:37:22 -07:00
2023-08-30 09:45:12 -07:00
2024-06-21 14:38:34 +02:00
2019-11-07 11:07:29 +01:00
2023-06-06 18:31:37 +02:00
2022-04-26 13:35:45 -07:00
2023-06-07 10:03:12 -07:00
2022-03-28 19:38:51 -07:00
2019-05-30 11:26:35 -07:00
2017-11-02 11:10:55 +01:00
2022-01-30 21:17:00 -05:00
2022-01-30 21:17:00 -05:00
2017-11-02 11:10:55 +01:00
2023-01-25 12:33:40 +01:00
2020-04-23 10:50:26 +09:00
2017-11-02 11:10:55 +01:00
2020-03-23 18:45:14 +01:00
2021-01-21 20:08:53 +01:00
2021-04-30 11:20:40 -07:00
2019-10-22 00:51:44 +02:00
2023-08-17 11:38:28 -07:00
2022-06-08 05:56:24 -04:00
2024-03-26 18:19:11 -04:00
2020-01-14 12:20:58 +01:00
2022-08-16 11:03:38 -07:00
2024-04-03 15:29:03 +02:00
2022-02-11 20:39:39 +11:00
2017-11-02 11:10:55 +01:00
2022-02-11 20:39:39 +11:00
2022-02-11 20:39:39 +11:00