Re: [PATCH] clocksource/arm_arch_timer: add __ro_after_init and __init

2021-04-01 Thread Daniel Lezcano
On 01/04/2021 10:31, Marc Zyngier wrote: > On Tue, 30 Mar 2021 07:04:44 +0100, > Jisheng Zhang wrote: >> >> Some functions are not needed after booting, so mark them as __init >> to move them to the .init section. >> >> Some global variables are never modified after init, so can be >>

Re: [PATCH] clocksource/arm_arch_timer: add __ro_after_init and __init

2021-04-01 Thread Marc Zyngier
On Tue, 30 Mar 2021 07:04:44 +0100, Jisheng Zhang wrote: > > Some functions are not needed after booting, so mark them as __init > to move them to the .init section. > > Some global variables are never modified after init, so can be > __ro_after_init. > > Signed-off-by: Jisheng Zhang

Re: [PATCH] clocksource/arm_arch_timer: add __ro_after_init and __init

2021-03-31 Thread Daniel Lezcano
Hi, On 30/03/2021 08:04, Jisheng Zhang wrote: > Some functions are not needed after booting, so mark them as __init > to move them to the .init section. > > Some global variables are never modified after init, so can be > __ro_after_init. > > Signed-off-by: Jisheng Zhang Mar[ck] ? Any