[tip:x86/cleanups] x86, boot: Remove obsolete and unused constant RAMDISK

From: tip-bot for Paul Bolle
Date: Mon Aug 20 2012 - 16:20:08 EST


Commit-ID: 0570a365a6b8ccbfe7baa459de2b7396ddf2de90
Gitweb: http://git.kernel.org/tip/0570a365a6b8ccbfe7baa459de2b7396ddf2de90
Author: Paul Bolle <pebolle@xxxxxxxxxx>
AuthorDate: Sun, 19 Aug 2012 19:06:43 +0200
Committer: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>
CommitDate: Mon, 20 Aug 2012 11:34:48 -0700

x86, boot: Remove obsolete and unused constant RAMDISK

The named constant RAMDISK is unused. It used to set the (obsolete)
kernel boot header field ram_size, but its usage for that purpose got
dropped in commit 5e47c478b0b69bc9bc3ba544e4b1ca3268f98fef ("x86: remove
zImage support"). Now remove this constant too.

Signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx>
Link: http://lkml.kernel.org/r/1345396003.1771.9.camel@xxxxxxxxxxxxxxx
Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>
---
arch/x86/boot/header.S | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S
index b4e15dd..2a01744 100644
--- a/arch/x86/boot/header.S
+++ b/arch/x86/boot/header.S
@@ -32,10 +32,6 @@ SYSSEG = 0x1000 /* historical load address >> 4 */
#define SVGA_MODE ASK_VGA
#endif

-#ifndef RAMDISK
-#define RAMDISK 0
-#endif
-
#ifndef ROOT_RDONLY
#define ROOT_RDONLY 1
#endif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/