X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Fxen%2Fhvc-console.h;h=c3adde32669b49f958b816a5b3b6e757b25a078e;hb=c010b2f76c3032e48097a6eef291d8593d5d79a6;hp=21c0ecfd786d7a399994838252c99f7fdc6b99c3;hpb=39fe5434cb9de5da40510028b17b96bc4eb312b3;p=linux-2.6-omap-h63xx.git diff --git a/include/xen/hvc-console.h b/include/xen/hvc-console.h index 21c0ecfd786..c3adde32669 100644 --- a/include/xen/hvc-console.h +++ b/include/xen/hvc-console.h @@ -3,4 +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 */