]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite51e982281e26006e0bdd79948b91a6e68124ce9
treebd78cace78954860c16b2407b3736d7a3472b87f
parentc8772020119e5e9018a11f5912923d929bceb799
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