public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/2] LoongArch: Add missing headers
@ 2023-09-14 10:34 Andy Shevchenko
  2023-09-14 10:34 ` [PATCH v1 2/2] LoongArch: Use _UL() and _ULL() Andy Shevchenko
  2023-09-14 15:25 ` [PATCH v1 1/2] LoongArch: Add missing headers Huacai Chen
  0 siblings, 2 replies; 11+ messages in thread
From: Andy Shevchenko @ 2023-09-14 10:34 UTC (permalink / raw)
  To: Andy Shevchenko, loongarch, linux-kernel; +Cc: Huacai Chen, WANG Xuerui

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@linux.intel.com>
---
 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


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-09-19  0:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-14 10:34 [PATCH v1 1/2] LoongArch: Add missing headers Andy Shevchenko
2023-09-14 10:34 ` [PATCH v1 2/2] LoongArch: Use _UL() and _ULL() Andy Shevchenko
2023-09-14 15:25 ` [PATCH v1 1/2] LoongArch: Add missing headers Huacai Chen
2023-09-14 18:52   ` Andy Shevchenko
2023-09-15  0:36     ` Huacai Chen
2023-09-16 10:24       ` Andy Shevchenko
2023-09-16 12:05         ` Huacai Chen
2023-09-18  6:49           ` Andy Shevchenko
2023-09-18  8:05             ` Huacai Chen
2023-09-18  8:23               ` Andy Shevchenko
2023-09-19  0:56                 ` Guo Ren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox