]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
xen/include: include <asm/types.h> in <xen/early_printk.h>
authorOleksii Kurochko <oleksii.kurochko@gmail.com>
Mon, 9 Jan 2023 13:29:49 +0000 (14:29 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 9 Jan 2023 13:29:49 +0000 (14:29 +0100)
<asm/types.h> should be included because second argument of
early_puts has type 'size_t' which is defined in <asm/types.h>

Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/include/xen/early_printk.h

index 0f76c3a74f03ed1c5fdd0d6f76ef35e60615e7ae..abb34687dad753d39902650f3341c4b93b877a49 100644 (file)
@@ -4,6 +4,8 @@
 #ifndef __XEN_EARLY_PRINTK_H__
 #define __XEN_EARLY_PRINTK_H__
 
+#include <asm/types.h>
+
 #ifdef CONFIG_EARLY_PRINTK
 void early_puts(const char *s, size_t nr);
 #else