Skip to contentSkip to conversation

x86/boot: Correct setup_header.start_sys name

PATCH New Borislav Petkov 2 participants 2 messages Feb 21, 2017 – Mar 1, 2017 x86

lore
Share & tools
lore

Borislav Petkov

author maintainer
#0 lore raw

PATCH 1/1 x86/boot: Correct setup_header.start_sys name

From: Borislav Petkov <[email protected]>

It is called start_sys_seg elsewhere so rename it to that. It is an obsolete field so we could just as well directly call it __u16 __pad...

No functionality change.

---
 arch/x86/include/uapi/asm/bootparam.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/uapi/asm/bootparam.h +1 -1
index 5138dacf8bb8..07244ea16765 100644
@@ -58,7 +58,7 @@ struct setup_header {
 	__u32	header;
 	__u16	version;
 	__u32	realmode_swtch;
-	__u16	start_sys;
+	__u16	start_sys_seg;
 	__u16	kernel_version;
 	__u8	type_of_loader;
 	__u8	loadflags;
Signature · 1 line
2.11.0
#1 lore raw
x86/boot: Correct setup_header.start_sys name
Commit-ID:  8392f16d38bb5222c03073a3906b7fd272386faf
Gitweb:     http://git.kernel.org/tip/8392f16d38bb5222c03073a3906b7fd272386faf
Author:     Borislav Petkov <[email protected]>
AuthorDate: Tue, 21 Feb 2017 19:36:39 +0100
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Wed, 1 Mar 2017 11:27:26 +0100

x86/boot: Correct setup_header.start_sys name

It is called start_sys_seg elsewhere so rename it to that. It is an obsolete field so we could just as well directly call it __u16 __pad...

No functional change.

---
 arch/x86/include/uapi/asm/bootparam.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/uapi/asm/bootparam.h +1 -1
index 5138dac..07244ea 100644
@@ -58,7 +58,7 @@ struct setup_header {
 	__u32	header;
 	__u16	version;
 	__u32	realmode_swtch;
-	__u16	start_sys;
+	__u16	start_sys_seg;
 	__u16	kernel_version;
 	__u8	type_of_loader;
 	__u8	loadflags;