x86/setup: Remove redundant RAMDISK_* definitions
PATCH 1/1 x86/setup: Remove redundant RAMDISK_* definitions
All three RAMDISK_* macros are already defined in asm/bootparam.h, and only RAMDISK_IMAGE_START_MASK is used in setup.c.
Signed-off-by Thorsten Blum <[email protected]>
--- arch/x86/kernel/setup.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
arch/x86/kernel/setup.c +1 -4
@@ -36,6 +36,7 @@#include <asm/apic.h> #include <asm/bios_ebda.h> +#include <asm/bootparam.h> #include <asm/bugs.h> #include <asm/cacheinfo.h> #include <asm/coco.h>
@@ -221,10 +222,6 @@ extern int root_mountflags;unsigned long saved_video_mode; -#define RAMDISK_IMAGE_START_MASK 0x07FF -#define RAMDISK_PROMPT_FLAG 0x8000 -#define RAMDISK_LOAD_FLAG 0x4000 -static char __initdata command_line[COMMAND_LINE_SIZE ];#ifdef CONFIG_CMDLINE_BOOL char builtin_cmdline[COMMAND_LINE_SIZE ] =CONFIG_CMDLINE ;