Re: [PATCH 4/4] arm: use correct argument size of special registers

2020-07-07 Thread Tom Rini
On Wed, May 27, 2020 at 08:04:24PM +0200, Heinrich Schuchardt wrote: > Compiling with clang on ARMv8 shows errors like: > > ./arch/arm/include/asm/system.h:162:32: note: use constraint modifier "w" > asm volatile("msr sctlr_el1, %0" : : "r" (val) : "cc"); >

[PATCH 4/4] arm: use correct argument size of special registers

2020-05-27 Thread Heinrich Schuchardt
Compiling with clang on ARMv8 shows errors like: ./arch/arm/include/asm/system.h:162:32: note: use constraint modifier "w" asm volatile("msr sctlr_el1, %0" : : "r" (val) : "cc"); ^~ %w0 These