Received: by 10.213.65.68 with SMTP id h4csp3189377imn; Mon, 2 Apr 2018 23:54:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+MvMCSf986vKlh6CQxftkt3fTuf48hshmcPGHHLayQLdDAxd3Bl8BaPLYHvw40Yvo5wRS0 X-Received: by 10.101.93.136 with SMTP id f8mr3537572pgt.265.1522738492660; Mon, 02 Apr 2018 23:54:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522738492; cv=none; d=google.com; s=arc-20160816; b=aGefxyK3sAhtRZ/Yk2lUO31yCJgm7+Yi9DTvLmNxOBRUuzVRiJmrRWO9DfJvxuF7g0 S2mxh3cGnqoheZuiurOv7i2NupcK6odliZbfIJkVROrH6OqykTU4bvsWLKJWTdbB0xt1 3jkuCLrP0z7Dg3kmqcJJnRW0z8BWVLVGQpverkhPm1qV3HXr9fsyQxU5HOynS/tpEyZt zTdmdtiLxyMRFYUnMymlsFdC/cOUiEBNLjSVVHubaaGbGa3vZUM6kJMuc2KvM63Pi/63 rf1erVQpejgv3xpzFaKyDjbtfvWJ8u3i+C2EdTBFOBRr7NZ92swSO2xxM8XPj33/uu4z Zucg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :arc-authentication-results; bh=KOKcvPNuAHciwvKWXgJ6059fjjMbttpL4W5Wdtgy4iQ=; b=PyDRg9tYqTE5NogeCaL2HgHZFXZCjVfKP59OM15FlX14Nuu9VUi7FrGuajzR0I6U3Q 9fIJUM3P7EoDg+ZythCmdd++THNQFodH+fX+l4AtepxZwXAv3APMM2eMC07dJ6mtK938 Go5CfVIPJeBVCDZLAfud0xiE9VXTXeTW+szudqKJ71fa3+TxvzGAW6RKD/XdfbDuP8Yr dvD2nvmOha4KLhj+H1Ym5y/k34fUzpPh3ahSSSbifkPMp6IzY2ltxYQQym+/mCXTDken VWKSt0zpkslTpMy3EFIVQxUBfQuqX2SYmjIUwnbo55LQlcNVnjR84pq19aMbrplFU898 kaAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e20si1609854pfi.359.2018.04.02.23.54.38; Mon, 02 Apr 2018 23:54:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754956AbeDCGxK convert rfc822-to-8bit (ORCPT + 99 others); Tue, 3 Apr 2018 02:53:10 -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 Received: by mail-wm0-f67.google.com with SMTP id p9so30650549wmc.3; Mon, 02 Apr 2018 23:53:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=k8wRJROnI0+3rYonv+z6QYXDBxYVasQiQd9+n/J9Gj4=; b=af5+zCtR4lkOtjmUh7AEgE1jPuLpssGsE+GiI1YHWSj7/3E17/5SBHmf8YfXOLWf7W L4FO63eoBDYn5NsXhdHEUl0jDmuoA6ZyX2XI0iHqSBUKPbb8FdepmcO22o1fPBRUb1rh kpFHXGS/LwIRz5XlmVXvW0DIDNIpWzIv3uhiGOgvzhr9D0wI3tVGYlprW+Z16BvhAFsg rdwcquyz/CSCV0YqXh7Msn/nvNoMd63o7IZ6ZGG6lSmcARQ6ABQ0L2fGe5lmpPO45fy6 2RKopbjFcYpbA1SuRbCGSB1WkpYxR1n82RXN5y9X2NWDAScKKYJKtLbSbAVMtMkp+IMg LFrw== X-Gm-Message-State: AElRT7H1rGmT4jutVJHGHbtgy+acNX+pPvtdlskcxhPC5OI/EIrOktu5 R23/KoS3SHYLthhL354Coq2dOfky X-Received: by 10.80.179.230 with SMTP id t35mr15472046edd.173.1522738387827; Mon, 02 Apr 2018 23:53:07 -0700 (PDT) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com. [74.125.82.54]) by smtp.gmail.com with ESMTPSA id j36sm1311264ede.97.2018.04.02.23.53.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Apr 2018 23:53:06 -0700 (PDT) Received: by mail-wm0-f54.google.com with SMTP id r82so32666018wme.0; Mon, 02 Apr 2018 23:53:06 -0700 (PDT) X-Received: by 10.28.135.195 with SMTP id j186mr3281655wmd.143.1522738386291; Mon, 02 Apr 2018 23:53:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.164.129 with HTTP; Mon, 2 Apr 2018 23:52:45 -0700 (PDT) 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 Precedence: bulk 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 ++++++++++++++++++++++++++++++++++++++