RISC-V: use RISCV_{INT,SHORT} instead of {INT,SHORT} for asm macros
authorOlof Johansson <olof@lixom.net>
Thu, 30 Nov 2017 01:55:13 +0000 (17:55 -0800)
committerPalmer Dabbelt <palmer@sifive.com>
Thu, 30 Nov 2017 18:01:10 +0000 (10:01 -0800)
commit5e6f82b0fe7b7b4a204efeb0817fb8b0a2bc0373
treebd78cace78954860c16b2407b3736d7a3472b87f
parent5ddf755e4439833847a21bd5e2dc82d686679911
RISC-V: use RISCV_{INT,SHORT} instead of {INT,SHORT} for asm macros

INT and SHORT are used by some drivers that pull in the include files,
so prefixing helps avoid namespace conflicts. Other constructs in the
same file already uses this.

Fixes, among others, these warnings with allmodconfig:

../sound/core/pcm_misc.c:43:0: warning: "INT" redefined
 #define INT __force int

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/include/asm/asm.h
arch/riscv/include/asm/bug.h