Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm
[sfrench/cifs-2.6.git] / include / xen / hvc-console.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef XEN_HVC_CONSOLE_H
3 #define XEN_HVC_CONSOLE_H
4
5 extern struct console xenboot_console;
6
7 #ifdef CONFIG_HVC_XEN
8 void xen_console_resume(void);
9 void xen_raw_console_write(const char *str);
10 __printf(1, 2)
11 void xen_raw_printk(const char *fmt, ...);
12 #else
13 static inline void xen_console_resume(void) { }
14 static inline void xen_raw_console_write(const char *str) { }
15 static inline __printf(1, 2)
16 void xen_raw_printk(const char *fmt, ...) { }
17 #endif
18
19 #endif  /* XEN_HVC_CONSOLE_H */