[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <cdd5dd2dd869f6440296aad900a6780d49bf4c55.1661565218.git.baskov@ispras.ru>
Date: Sat, 27 Aug 2022 05:08:10 +0300
From: Evgeniy Baskov <baskov@...ras.ru>
To: Borislav Petkov <bp@...en8.de>
Cc: Evgeniy Baskov <baskov@...ras.ru>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Ingo Molnar <mingo@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org, x86@...nel.org,
Alexey Khoroshilov <khoroshilov@...ras.ru>
Subject: [PATCH v6 5/5] x86/boot: Remove no longer needed includes
x86/incldue/asm/shared/cmdline.h header already provides
COMMAND_LINE_SIZE definition.
Signed-off-by: Evgeniy Baskov <baskov@...ras.ru>
---
arch/x86/boot/compressed/ident_map_64.c | 4 ----
arch/x86/boot/compressed/kaslr.c | 4 ----
2 files changed, 8 deletions(-)
diff --git a/arch/x86/boot/compressed/ident_map_64.c b/arch/x86/boot/compressed/ident_map_64.c
index d4a314cc50d6..fdfe0e5f5cb0 100644
--- a/arch/x86/boot/compressed/ident_map_64.c
+++ b/arch/x86/boot/compressed/ident_map_64.c
@@ -33,10 +33,6 @@
#define __PAGE_OFFSET __PAGE_OFFSET_BASE
#include "../../mm/ident_map.c"
-#define _SETUP
-#include <asm/setup.h> /* For COMMAND_LINE_SIZE */
-#undef _SETUP
-
extern unsigned long get_cmd_line_ptr(void);
/* Used by PAGE_KERN* macros: */
diff --git a/arch/x86/boot/compressed/kaslr.c b/arch/x86/boot/compressed/kaslr.c
index 4a3f223973f4..39e455c105a7 100644
--- a/arch/x86/boot/compressed/kaslr.c
+++ b/arch/x86/boot/compressed/kaslr.c
@@ -31,10 +31,6 @@
#include <linux/ctype.h>
#include <generated/utsrelease.h>
-#define _SETUP
-#include <asm/setup.h> /* For COMMAND_LINE_SIZE */
-#undef _SETUP
-
extern unsigned long get_cmd_line_ptr(void);
/* Simplified build-specific string for starting entropy. */
--
2.37.2
Powered by blists - more mailing lists