[PATCH v5 01/13] ARM: move cputype definitions into another file
Chen-Yu Tsai
wens at csie.org
Mon Apr 2 23:52:45 PDT 2018
On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand
<mylene.josserand at bootlin.com> wrote:
> To add the support for SMP on sun8i-a83t, we will use some
> definitions in an assembly file so move definitions into
> another file to separate C functions and macro defintions.
Instead of moving the definitions, you could guard all the C
stuff in "#ifndef __ASSEMBLY__". AFAIK a few header files do that.
ChenYu
> Signed-off-by: Mylène Josserand <mylene.josserand at bootlin.com>
> ---
> arch/arm/include/asm/cputype.h | 94 +-----------------------------------
> arch/arm/include/asm/cputype_def.h | 98 ++++++++++++++++++++++++++++++++++++++
More information about the linux-arm-kernel
mailing list