hc
2024-05-10 ee930fffee469d076998274a2ca55e13dc1efb67
kernel/arch/x86/include/asm/bootparam_utils.h
....@@ -38,7 +38,7 @@
3838 * IMPORTANT NOTE TO BOOTLOADER AUTHORS: do not simply clear
3939 * this field. The purpose of this field is to guarantee
4040 * compliance with the x86 boot spec located in
41
- * Documentation/x86/boot.txt . That spec says that the
41
+ * Documentation/x86/boot.rst . That spec says that the
4242 * *whole* structure should be cleared, after which only the
4343 * portion defined by struct setup_header (boot_params->hdr)
4444 * should be copied in.
....@@ -49,7 +49,6 @@
4949 * problems again.
5050 */
5151 if (boot_params->sentinel) {
52
- /* fields in boot_params are left uninitialized, clear them */
5352 static struct boot_params scratch;
5453 char *bp_base = (char *)boot_params;
5554 char *save_base = (char *)&scratch;