[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1532661395712@infradead.org>
Date: Thu, 26 Jul 2018 20:16:35 -0700
From: rd_dunlab <rd.dunlab@...il.com>
To: Randy Dunlap <rdunlap@...radead.org>,
lkml <linux-kernel@...r.kernel.org>
Cc: Vineet Gupta <vgupta@...opsys.com>,
linux-snps-arc@...ts.infradead.org,
Elad Kanfi <eladkan@...lanox.com>,
Leon Romanovsky <leonro@...lanox.com>,
Ofer Levi <oferle@...lanox.com>
Subject: [PATCH 3/4 v2] arc: fix data type errors in platform headers
From: Randy Dunlap <rdunlap@...radead.org>
Add <asm-generic/types.h> to fix build errors.
Both ctop.h and <soc/nps/common.h> use u32 types and cause many
errors.
Examples:
../include/soc/nps/common.h:71:4: error: unknown type name 'u32'
u32 __reserved:20, cluster:4, core:4, thread:4;
../include/soc/nps/common.h:76:3: error: unknown type name 'u32'
u32 value;
../include/soc/nps/common.h:124:4: error: unknown type name 'u32'
u32 base:8, cl_x:4, cl_y:4,
../include/soc/nps/common.h:127:3: error: unknown type name 'u32'
u32 value;
../arch/arc/plat-eznps/include/plat/ctop.h:83:4: error: unknown type name 'u32'
u32 gen:1, gdis:1, clk_gate_dis:1, asb:1,
../arch/arc/plat-eznps/include/plat/ctop.h:86:3: error: unknown type name 'u32'
u32 value;
../arch/arc/plat-eznps/include/plat/ctop.h:93:4: error: unknown type name 'u32'
u32 csa:22, dmsid:6, __reserved:3, cs:1;
../arch/arc/plat-eznps/include/plat/ctop.h:95:3: error: unknown type name 'u32'
u32 value;
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Vineet Gupta <vgupta@...opsys.com>
Cc: linux-snps-arc@...ts.infradead.org
Cc: Elad Kanfi <eladkan@...lanox.com>
Cc: Leon Romanovsky <leonro@...lanox.com>
Cc: Ofer Levi <oferle@...lanox.com>
---
v2: no change
arch/arc/plat-eznps/include/plat/ctop.h | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20180723.orig/arch/arc/plat-eznps/include/plat/ctop.h
+++ linux-next-20180723/arch/arc/plat-eznps/include/plat/ctop.h
@@ -21,6 +21,7 @@
#error "Incorrect ctop.h include"
#endif
+#include <asm-generic/types.h>
#include <soc/nps/common.h>
/* core auxiliary registers */
--
Powered by blists - more mailing lists