summaryrefslogtreecommitdiff
path: root/arch/um/drivers/mconsole.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/mconsole.h')
-rw-r--r--arch/um/drivers/mconsole.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/mconsole.h b/arch/um/drivers/mconsole.h
index 8b22535c62ce..44af7379ea19 100644
--- a/arch/um/drivers/mconsole.h
+++ b/arch/um/drivers/mconsole.h
@@ -7,7 +7,7 @@
#ifndef __MCONSOLE_H__
#define __MCONSOLE_H__
-#ifndef __KERNEL__
+#ifdef __UM_HOST__
#include <stdint.h>
#define u32 uint32_t
#endif