lkml.org 
[lkml]   [2012]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:x86/cleanups] x86, boot: Remove obsolete and unused constant RAMDISK
Commit-ID:  0570a365a6b8ccbfe7baa459de2b7396ddf2de90
Gitweb: http://git.kernel.org/tip/0570a365a6b8ccbfe7baa459de2b7396ddf2de90
Author: Paul Bolle <pebolle@tiscali.nl>
AuthorDate: Sun, 19 Aug 2012 19:06:43 +0200
Committer: H. Peter Anvin <hpa@linux.intel.com>
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@tiscali.nl>
Link: http://lkml.kernel.org/r/1345396003.1771.9.camel@x61.thuisdomein
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
---
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

\
 
 \ /
  Last update: 2012-08-20 23:01    [from the cache]
©2003-2011 Jasper Spaans