]> 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)
commit58c50d30267183bbe7d9a312fd442c4feda4e8c5
treebd78cace78954860c16b2407b3736d7a3472b87f
parent89a5ae07ab23d97bd806c5ae5b537375d0848148
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