diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-08-31 10:09:12 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-08-31 10:09:12 +0100 |
commit | 66c5b440e1475fc1ff10197ce5653e669305b82d (patch) | |
tree | 4aadb6ca50fd489e7fbc2e9309d9fc9c5b5ab0ce /xen/drivers/char/console.c | |
parent | 088b657e65d0b35bd27d4cdb6348853b23ba2cb6 (diff) | |
download | xen-66c5b440e1475fc1ff10197ce5653e669305b82d.tar.gz xen-66c5b440e1475fc1ff10197ce5653e669305b82d.tar.bz2 xen-66c5b440e1475fc1ff10197ce5653e669305b82d.zip |
properly __initdata-annotate command line option string buffers
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/drivers/char/console.c')
-rw-r--r-- | xen/drivers/char/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c index 98fc4615c4..a12a6caf71 100644 --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -36,7 +36,7 @@ #include <public/sysctl.h> /* console: comma-separated list of console outputs. */ -static char opt_console[30] = OPT_CONSOLE_STR; +static char __initdata opt_console[30] = OPT_CONSOLE_STR; string_param("console", opt_console); /* conswitch: a character pair controlling console switching. */ @@ -676,7 +676,7 @@ void __init console_endboot(void) switch_serial_input(); } -int console_has(const char *device) +int __init console_has(const char *device) { char *p; |