Re: [PATCH] clocksource: arc_timer: eliminate redefined macro error

2021-09-23 Thread Randy Dunlap
On 9/23/21 2:42 AM, Shahab Vahedi wrote: Hi Randy, I have one minor comment. On 9/23/21 5:18 AM, Randy Dunlap wrote: --- linux-next-20210917.orig/include/soc/arc/timers.h +++ linux-next-20210917/include/soc/arc/timers.h @@ -17,7 +17,7 @@ #define ARC_REG_TIMER1_CNT0x100 /* timer 1 coun

Re: [PATCH] clocksource: arc_timer: eliminate redefined macro error

2021-09-23 Thread Shahab Vahedi
Hi Randy, I have one minor comment. On 9/23/21 5:18 AM, Randy Dunlap wrote: > > --- linux-next-20210917.orig/include/soc/arc/timers.h > +++ linux-next-20210917/include/soc/arc/timers.h > @@ -17,7 +17,7 @@ > #define ARC_REG_TIMER1_CNT 0x100 /* timer 1 count */ > > /* CTRL reg bits */ > -#

[PATCH] clocksource: arc_timer: eliminate redefined macro error

2021-09-22 Thread Randy Dunlap
In drivers/clocksource/, 3 drivers use "TIMER_CTRL_IE" with 3 different values. Two of them (mps2-timer.c and timer-sp804.c/timer-sp.h) are localized and left unmodifed. One of them uses a shared header file (), which is what is causing the "redefined" warnings, so change the macro name in that d