X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=blobdiff_plain;f=include%2Fxen%2Fhvc-console.h;h=c3adde32669b49f958b816a5b3b6e757b25a078e;hp=fd5483a059bb44ec8ab375871acdc9aef1de87be;hb=9d2a3f31d6d7832cd441eeda08bc2266cdd5d972;hpb=6b9b732d0e396a3f1a95977162a8624aafce38a1 diff --git a/include/xen/hvc-console.h b/include/xen/hvc-console.h index fd5483a..c3adde3 100644 --- a/include/xen/hvc-console.h +++ b/include/xen/hvc-console.h @@ -3,9 +3,14 @@ extern struct console xenboot_console; +#ifdef CONFIG_HVC_XEN void xen_console_resume(void); - void xen_raw_console_write(const char *str); void xen_raw_printk(const char *fmt, ...); +#else +static inline void xen_console_resume(void) { } +static inline void xen_raw_console_write(const char *str) { } +static inline void xen_raw_printk(const char *fmt, ...) { } +#endif #endif /* XEN_HVC_CONSOLE_H */