diff mbox series

fixup! fix missing vmalloc.h includes

Message ID 20240404034744.1664840-1-kent.overstreet@linux.dev (mailing list archive)
State New
Headers show
Series fixup! fix missing vmalloc.h includes | expand

Commit Message

Kent Overstreet April 4, 2024, 3:47 a.m. UTC
Few places were depending on sizes.h (convenience human-readable-units
size macros) iplicitly; fix

Link: https://lkml.kernel.org/r/20240327002152.3339937-1-kent.overstreet@linux.dev
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org
Cc: linux-kernel@vger.krenel.org
---
 include/asm-generic/io.h | 1 +
 include/linux/io.h       | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h
index c27313414a82..80de699bf6af 100644
--- a/include/asm-generic/io.h
+++ b/include/asm-generic/io.h
@@ -9,6 +9,7 @@ 
 
 #include <asm/page.h> /* I/O is all done through memory accesses */
 #include <linux/string.h> /* for memset() and memcpy() */
+#include <linux/sizes.h>
 #include <linux/types.h>
 #include <linux/instruction_pointer.h>
 
diff --git a/include/linux/io.h b/include/linux/io.h
index 235ba7d80a8f..e8ee40ee1843 100644
--- a/include/linux/io.h
+++ b/include/linux/io.h
@@ -6,6 +6,7 @@ 
 #ifndef _LINUX_IO_H
 #define _LINUX_IO_H
 
+#include <linux/sizes.h>
 #include <linux/types.h>
 #include <linux/init.h>
 #include <linux/bug.h>