From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755033AbeDCGxL convert rfc822-to-8bit (ORCPT ); Tue, 3 Apr 2018 02:53:11 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:53960 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754808AbeDCGxJ (ORCPT ); Tue, 3 Apr 2018 02:53:09 -0400 X-Google-Smtp-Source: AIpwx4/bsz9doSTVNezcW2aCXQ76qqgs0ARxrCiSeTUU6Pwww1VY339ZKNaN2Q8qBrlL6fbBiNZppg== MIME-Version: 1.0 In-Reply-To: <20180403061836.3926-2-mylene.josserand@bootlin.com> References: <20180403061836.3926-1-mylene.josserand@bootlin.com> <20180403061836.3926-2-mylene.josserand@bootlin.com> From: Chen-Yu Tsai Date: Tue, 3 Apr 2018 14:52:45 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 01/13] ARM: move cputype definitions into another file To: =?UTF-8?Q?Myl=C3=A8ne_Josserand?= Cc: Russell King , Maxime Ripard , Marc Zyngier , Mark Rutland , Rob Herring , devicetree , LABBE Corentin , quentin.schulz@bootlin.com, Thomas Petazzoni , linux-arm-kernel , linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand 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 > --- > arch/arm/include/asm/cputype.h | 94 +----------------------------------- > arch/arm/include/asm/cputype_def.h | 98 ++++++++++++++++++++++++++++++++++++++