summaryrefslogtreecommitdiff
path: root/xen/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'xen/console.h')
-rw-r--r--xen/console.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/xen/console.h b/xen/console.h
index 527f5fbd..4a3c541d 100644
--- a/xen/console.h
+++ b/xen/console.h
@@ -25,7 +25,10 @@
#include <device/cons.h>
#include <device/io_req.h>
-#define hyp_console_write(str, len) hyp_console_io (CONSOLEIO_write, (len), kvtolin(str))
+static inline void hyp_console_write(const char *str, int len)
+{
+ hyp_console_io (CONSOLEIO_write, len, kvtolin(str));
+}
#define hyp_console_put(str) ({ \
const char *__str = (void*) (str); \