[PATCH 0/4 v2] arc: some allmodconfig build fixes

2018-07-26 Thread rd_dunlab
From: Randy Dunlap Hi, Here are a few patches that fix build errors or warnings that I encountered while doing arc "allmodconfig" builds. These patches do not fix all of the build issues. arch/arc/include/asm/delay.h|3 +++ arch/arc/mm/cache.c |7 -

[PATCH 1/4 v2] arc: fix build errors in arc/include/asm/delay.h

2018-07-26 Thread rd_dunlab
From: Randy Dunlap Fix build errors in arch/arc/'s delay.h: - add "extern unsigned long loops_per_jiffy;" - add for "u64" In file included from ../drivers/infiniband/hw/cxgb3/cxio_hal.c:32: ../arch/arc/include/asm/delay.h: In function '__udelay': ../arch/arc/include/asm/delay.h:61:12: error: 'u

[PATCH 3/4 v2] arc: fix data type errors in platform headers

2018-07-26 Thread rd_dunlab
From: Randy Dunlap Add to fix build errors. Both ctop.h and 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' u3

[PATCH 4/4 v2] arc: fix printk warning in arc/plat-eznps/mtm.c

2018-07-26 Thread rd_dunlab
From: Randy Dunlap Fix printk format warning in arch/arc/plat-eznps/mtm.c: In file included from ../include/linux/printk.h:7, from ../include/linux/kernel.h:14, from ../include/linux/list.h:9, from ../include/linux/smp.h:12, fro

[PATCH 2/4 v2] arc: fix type warnings in arc/mm/cache.c

2018-07-26 Thread rd_dunlab
From: Randy Dunlap Fix type warnings in arch/arc/mm/cache.c. ../arch/arc/mm/cache.c: In function 'flush_anon_page': ../arch/arc/mm/cache.c:1062:55: warning: passing argument 2 of '__flush_dcache_page' makes integer from pointer without a cast [-Wint-conversion] __flush_dcache_page((phys_addr