Re: [PATCH] clocksource/arm_arch_timer: extract elf_hwcap use to arch-helper

2019-06-10 Thread Catalin Marinas
On Tue, Apr 30, 2019 at 02:14:13PM +0100, Andrew Murray wrote: > diff --git a/arch/arm/include/asm/arch_timer.h > b/arch/arm/include/asm/arch_timer.h > index 0a8d7bba2cb0..f21e038dc9f3 100644 > --- a/arch/arm/include/asm/arch_timer.h > +++ b/arch/arm/include/asm/arch_timer.h > @@ -4,6 +4,7 @@ >

Re: [PATCH] clocksource/arm_arch_timer: extract elf_hwcap use to arch-helper

2019-06-10 Thread Marc Zyngier
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

Re: [PATCH] clocksource/arm_arch_timer: extract elf_hwcap use to arch-helper

2019-06-10 Thread Will Deacon
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

Re: [PATCH] clocksource/arm_arch_timer: extract elf_hwcap use to arch-helper

2019-05-01 Thread Mark Rutland
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 Nit: greengrocer's apostrophe -- you can say "use of ifdeferry" to clean that up. >

[PATCH] clocksource/arm_arch_timer: extract elf_hwcap use to arch-helper

2019-04-30 Thread Andrew Murray
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 ---