]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/xen/hvc-console.h
clk: rockchip: fix ID of 8ch clock of I2S1 for rk3328
[mirror_ubuntu-bionic-kernel.git] / include / xen / hvc-console.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
b536b4b9
JF
2#ifndef XEN_HVC_CONSOLE_H
3#define XEN_HVC_CONSOLE_H
4
5extern struct console xenboot_console;
6
0261ac5f 7#ifdef CONFIG_HVC_XEN
6b9b732d 8void xen_console_resume(void);
9c8a4420 9void xen_raw_console_write(const char *str);
b9075fa9 10__printf(1, 2)
9c8a4420 11void xen_raw_printk(const char *fmt, ...);
0261ac5f
IM
12#else
13static inline void xen_console_resume(void) { }
9c8a4420 14static inline void xen_raw_console_write(const char *str) { }
b9075fa9 15static inline __printf(1, 2)
08b8bfc1 16void xen_raw_printk(const char *fmt, ...) { }
0261ac5f 17#endif
6b9b732d 18
b536b4b9 19#endif /* XEN_HVC_CONSOLE_H */