Re: [PATCH 00/18] ARM: use const and __initconst for smp_operations

2015-08-24 Thread Olof Johansson
On Mon, Aug 24, 2015 at 2:21 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Aug 24, 2015 at 02:12:06PM -0700, Olof Johansson wrote: Easiest of all would probably be to get the sub-arch patches into one release, then switch the prototypes and function definitions in the

Re: [PATCH 00/18] ARM: use const and __initconst for smp_operations

2015-08-24 Thread Olof Johansson
On Sun, Aug 23, 2015 at 9:36 PM, Masahiro Yamada yamada.masah...@socionext.com wrote: Currently, SoC code can not add const qualifier to smp_operations structures although they are never over-written. 01/18 and 02/18 add small changes to the ARM core to fix that. The rest of this series

Re: [PATCH 00/18] ARM: use const and __initconst for smp_operations

2015-08-24 Thread Russell King - ARM Linux
On Mon, Aug 24, 2015 at 02:12:06PM -0700, Olof Johansson wrote: Easiest of all would probably be to get the sub-arch patches into one release, then switch the prototypes and function definitions in the next. If you switch prototypes first you'll get a bunch of warnings, right? Wrong way

Re: [PATCH 00/18] ARM: use const and __initconst for smp_operations

2015-08-24 Thread Masahiro Yamada
Hi Russell, Olof, 2015-08-25 6:44 GMT+09:00 Olof Johansson o...@lixom.net: On Mon, Aug 24, 2015 at 2:21 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Aug 24, 2015 at 02:12:06PM -0700, Olof Johansson wrote: Easiest of all would probably be to get the sub-arch patches into

[PATCH 00/18] ARM: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
Currently, SoC code can not add const qualifier to smp_operations structures although they are never over-written. 01/18 and 02/18 add small changes to the ARM core to fix that. The rest of this series replace __initdata with const ... __initconst for each of SoC code. I split this series into