We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 505b029 commit 1d6cd21Copy full SHA for 1d6cd21
arch/riscv/kernel/setup.c
@@ -173,19 +173,6 @@ static void __init init_resources(void)
173
if (ret < 0)
174
goto error;
175
176
-#ifdef CONFIG_KEXEC_CORE
177
- if (crashk_res.start != crashk_res.end) {
178
- ret = add_resource(&iomem_resource, &crashk_res);
179
- if (ret < 0)
180
- goto error;
181
- }
182
- if (crashk_low_res.start != crashk_low_res.end) {
183
- ret = add_resource(&iomem_resource, &crashk_low_res);
184
185
186
187
-#endif
188
-
189
#ifdef CONFIG_CRASH_DUMP
190
if (elfcorehdr_size > 0) {
191
elfcorehdr_res.start = elfcorehdr_addr;
0 commit comments