Skip to content

Commit

Permalink
ia64: fix #endif comment for reserve_elfcorehdr()
Browse files Browse the repository at this point in the history
Patch series "ia64: Miscellaneous fixes and cleanups".

This patch series contains some miscellaneous fixes and cleanups for ia64.
The second patch fixes a naming conflict triggered by a patch for the FDT
code.

This patch (of 3):

The definition of reserve_elfcorehdr() depends on CONFIG_CRASH_DUMP, not
CONFIG_PROC_VMCORE.

Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/77b4c0648f200cab7e1c2c5171c06763e09362aa.1629884459.git.geert+renesas@glider.be
Fixes: d9a9855 ("always reserve elfcore header memory in crash kernel")
Fixes: 17c1f07 ("[IA64] Reserve elfcorehdr memory in CONFIG_CRASH_DUMP")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Cc: Simon Horman <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Jay Lan <[email protected]>
Cc: Magnus Damm <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Frank Rowand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
geertu authored and torvalds committed Sep 3, 2021
1 parent 577706d commit 1d1f4bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ia64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ int __init reserve_elfcorehdr(u64 *start, u64 *end)
return 0;
}

#endif /* CONFIG_PROC_VMCORE */
#endif /* CONFIG_CRASH_DUMP */

void __init
setup_arch (char **cmdline_p)
Expand Down

0 comments on commit 1d1f4bf

Please sign in to comment.