diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-09 07:15:03 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 05:06:48 -0400 |
commit | 9c8a4420444801bd9d818f542eb4a5be8d5687f0 (patch) | |
tree | 97a0a954d9574064cf335f96c3f01b28071ddd07 /include/xen | |
parent | 51dd660a2cd6eab4d470cfe1009c7f473832b786 (diff) |
xen64: fix !HVC_XEN build dependency
fix:
arch/x86/xen/built-in.o: In function `set_page_prot':
enlighten.c:(.text+0x111d): undefined reference to `xen_raw_printk'
arch/x86/xen/built-in.o: In function `xen_start_kernel':
: undefined reference to `xen_raw_console_write'
arch/x86/xen/built-in.o: In function `xen_start_kernel':
: undefined reference to `xen_raw_console_write'
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/hvc-console.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/xen/hvc-console.h b/include/xen/hvc-console.h index 98b79bc404dd..c3adde32669b 100644 --- a/include/xen/hvc-console.h +++ b/include/xen/hvc-console.h | |||
@@ -5,11 +5,12 @@ extern struct console xenboot_console; | |||
5 | 5 | ||
6 | #ifdef CONFIG_HVC_XEN | 6 | #ifdef CONFIG_HVC_XEN |
7 | void xen_console_resume(void); | 7 | void xen_console_resume(void); |
8 | void xen_raw_console_write(const char *str); | ||
9 | void xen_raw_printk(const char *fmt, ...); | ||
8 | #else | 10 | #else |
9 | static inline void xen_console_resume(void) { } | 11 | static inline void xen_console_resume(void) { } |
12 | static inline void xen_raw_console_write(const char *str) { } | ||
13 | static inline void xen_raw_printk(const char *fmt, ...) { } | ||
10 | #endif | 14 | #endif |
11 | 15 | ||
12 | void xen_raw_console_write(const char *str); | ||
13 | void xen_raw_printk(const char *fmt, ...); | ||
14 | |||
15 | #endif /* XEN_HVC_CONSOLE_H */ | 16 | #endif /* XEN_HVC_CONSOLE_H */ |