diff options
author | David Vrabel <david.vrabel@citrix.com> | 2012-03-22 14:26:47 +0000 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2012-03-22 14:26:47 +0000 |
commit | 94e9d5fb22e235da9d06bf5c325b4a66816fef3b (patch) | |
tree | ac87ca49a0eec0e81e7b965d52d606b27a941f8f /xen/common/kernel.c | |
parent | 789308dfa1fc779e033e28e12373d344ee7c957f (diff) | |
download | xen-94e9d5fb22e235da9d06bf5c325b4a66816fef3b.tar.gz xen-94e9d5fb22e235da9d06bf5c325b4a66816fef3b.tar.bz2 xen-94e9d5fb22e235da9d06bf5c325b4a66816fef3b.zip |
Allow cmdline_parse() to be used with const strings
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/common/kernel.c')
-rw-r--r-- | xen/common/kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/kernel.c b/xen/common/kernel.c index 1679dbb4f2..7141790a3e 100644 --- a/xen/common/kernel.c +++ b/xen/common/kernel.c @@ -48,7 +48,7 @@ static void __init assign_integer_param( } } -void __init cmdline_parse(char *cmdline) +void __init cmdline_parse(const char *cmdline) { char opt[100], *optval, *optkey, *q; const char *p = cmdline; |