xen/include: include <asm/types.h> in <xen/early_printk.h>

<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>
This commit is contained in:
Oleksii Kurochko authored and Jan Beulich committed 2023-01-09 14:29:49 +01:00
1 parent ba6d62ad71
commit 38525f6f73
1 file changed
+2
+2
View 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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.