diff options
| author | Paul Walmsley <[email protected]> | 2019-12-20 11:09:49 +0000 |
|---|---|---|
| committer | Paul Walmsley <[email protected]> | 2020-01-05 05:48:59 +0000 |
| commit | 2f3035da4019780250658d1ffe486bc324e04805 (patch) | |
| tree | 935c1b61ee95876a5dcd39444404f170361f3852 /drivers/iio/trigger/stm32-timer-trigger.c | |
| parent | clocksource: riscv: add notrace to riscv_sched_clock (diff) | |
| download | kernel-2f3035da4019780250658d1ffe486bc324e04805.tar.gz kernel-2f3035da4019780250658d1ffe486bc324e04805.zip | |
riscv: prefix IRQ_ macro names with an RV_ namespace
"IRQ_TIMER", used in the arch/riscv CSR header file, is a sufficiently
generic macro name that it's used by several source files across the
Linux code base. Some of these other files ultimately include the
arch/riscv CSR include file, causing collisions. Fix by prefixing the
RISC-V csr.h IRQ_ macro names with an RV_ prefix.
Fixes: a4c3733d32a72 ("riscv: abstract out CSR names for supervisor vs machine mode")
Reported-by: Olof Johansson <[email protected]>
Acked-by: Olof Johansson <[email protected]>
Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions
