summaryrefslogtreecommitdiffstats
path: root/include/linux/edd.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-09-26 10:52:38 +0200
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 10:52:38 +0200
commit575400d1b483fbe9e03c68758059bfaf4e4768d1 (patch)
tree9839d343d235dabfdb27e8ad2e48511ae542b015 /include/linux/edd.h
parent53ee11ae0d73f28029a5f0d991bc4dcd7c817e7a (diff)
downloadop-kernel-dev-575400d1b483fbe9e03c68758059bfaf4e4768d1.zip
op-kernel-dev-575400d1b483fbe9e03c68758059bfaf4e4768d1.tar.gz
[PATCH] i386: Fix the EDD code misparsing the command line
The EDD code would scan the command line as a fixed array, without taking account of either whitespace, null-termination, the old command-line protocol, late overrides early, or the fact that the command line may not be reachable from INITSEG. This should fix those problems, and enable us to use a longer command line. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/linux/edd.h')
-rw-r--r--include/linux/edd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/edd.h b/include/linux/edd.h
index 162512b..b2b3e68 100644
--- a/include/linux/edd.h
+++ b/include/linux/edd.h
@@ -52,6 +52,7 @@
#define EDD_CL_EQUALS 0x3d646465 /* "edd=" */
#define EDD_CL_OFF 0x666f /* "of" for off */
#define EDD_CL_SKIP 0x6b73 /* "sk" for skipmbr */
+#define EDD_CL_ON 0x6e6f /* "on" for on */
#ifndef __ASSEMBLY__
OpenPOWER on IntegriCloud