[PATCH v1 1/2] LoongArch: Add missing headers

From: Andy Shevchenko
Date: Thu Sep 14 2023 - 06:34:57 EST


The header uses definitions from sizes.h, include it.
For __iomem we need the compiler_types.h, include it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
arch/loongarch/include/asm/addrspace.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/loongarch/include/asm/addrspace.h b/arch/loongarch/include/asm/addrspace.h
index 5c9c03bdf915..eaf8ac098622 100644
--- a/arch/loongarch/include/asm/addrspace.h
+++ b/arch/loongarch/include/asm/addrspace.h
@@ -10,7 +10,9 @@
#ifndef _ASM_ADDRSPACE_H
#define _ASM_ADDRSPACE_H

+#include <linux/compiler_types.h>
#include <linux/const.h>
+#include <linux/sizes.h>

#include <asm/loongarch.h>

--
2.40.0.1.gaa8946217a0b