Re: [PATCH] clocksource/arm_arch_timer: extract elf_hwcap use to arch-helper
From: Marc Zyngier
Date: Mon Jun 10 2019 - 08:24:41 EST
On 10/06/2019 13:08, Will Deacon wrote:
> On Tue, Apr 30, 2019 at 02:14:13PM +0100, Andrew Murray wrote:
>> Different mechanisms are used to test and set elf_hwcaps between ARM
>> and ARM64, this results in the use of #ifdef's in this file when
>> setting/testing for the EVTSTRM hwcap.
>> Let's improve readability by extracting this to an arch helper.
>> Signed-off-by: Andrew Murray <andrew.murray@xxxxxxx>
>> arch/arm/include/asm/arch_timer.h | 13 +++++++++++++
>> arch/arm64/include/asm/arch_timer.h | 13 +++++++++++++
>> drivers/clocksource/arm_arch_timer.c | 15 ++-------------
>> 3 files changed, 28 insertions(+), 13 deletions(-)
> Acked-by: Will Deacon <will.deacon@xxxxxxx>
> I assume this is going via Marc Z.
More likely Daniel Lezcano. I'll ack the patch once reposted to take
Mark's remarks into account.
Jazz is not dead. It just smells funny...