diff options
author | Maneesh Soni <maneesh@in.ibm.com> | 2007-05-24 23:56:52 +1000 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2007-05-25 11:21:23 +0900 |
commit | f76d598edc5050bc70902446294cb1522479bdfd (patch) | |
tree | 3c8407626ecb77a0677fee236d69262984dc212c /kexec/kexec.h | |
parent | 02f4088ffded3d6f99a0c9f835727943d102b3df (diff) |
fix kexec-tools options
o value for OPT_REUSE_INITRD clashes with arch specific options which
are defined as (OPT_MAX + 1), like --serial option on x86_64. Changed
the values so that OPT_REUSE_INITRD is less than OPT_MAX.
Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.h')
-rw-r--r-- | kexec/kexec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/kexec.h b/kexec/kexec.h index 2ec706f..0781898 100644 --- a/kexec/kexec.h +++ b/kexec/kexec.h @@ -162,8 +162,8 @@ extern int file_types; #define OPT_PANIC 'p' #define OPT_MEM_MIN 256 #define OPT_MEM_MAX 257 -#define OPT_MAX 258 -#define OPT_REUSE_INITRD 259 +#define OPT_REUSE_INITRD 258 +#define OPT_MAX 259 #define KEXEC_OPTIONS \ { "help", 0, 0, OPT_HELP }, \ { "version", 0, 0, OPT_VERSION }, \ |