Received: by 10.213.65.68 with SMTP id h4csp758784imn; Wed, 4 Apr 2018 06:50:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/1ZFMmfEAge8U1tdoB73+17fdh7SHc7IE/npXXjzs3qL5uYiCO/uoNA4yjVryDjsN8dIax X-Received: by 10.101.100.130 with SMTP id e2mr7221581pgv.301.1522849853113; Wed, 04 Apr 2018 06:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522849853; cv=none; d=google.com; s=arc-20160816; b=0CPEHUTZftkdZ7vb7MqL9zmKZVrgIORUA36fffBkxdUk5v6hATQZiAb5Oy93oO06Ak 66ngNB5bCT4QnTRFWtSF/7+h9sfbjxGCPecp2QdbjrekbbhqIljSldUxifa/wktP0G30 ec3/O3xVCpX3cH7djBIeD7p1YB3qMs46ryzPfUoIrIrH2+8ouzvuldngDtFCDvWYJWBF jVmKIkRqW2rGmlFMGA9jL2umIs5Q24OFg0A6yaORLIAy2eOwka/tU/WrEJxA5lje0+6Q xFzjmdcR/lvgvS+56HOE+mt3QmCmKN3PaU3YzUdtt16ZejH7OHG6szNbll1um6PLg3d+ 9dBw== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=RV1yt671iaS6CPDQT7P7IWqOyuSG2OIyBNka3QAMMdQ=; b=GD3eMuHopRiAyJdmbnxc3HbeBKgMYDP7R1F/ifMRYsfrb/ivJHevlmrCqnqoxSMzSn XW2Eqy60jV6ZY6Y+NEPQMhpuzb7zA2bEWbUkRxOTPVELDWrOF1fjf/AgHNFaOHXwQVFn 3uRTrDspvtYD3usacBbgNERj+CEgXlTDeLTX1ZBcHjf7zJqRrGqsceYe1NLRKhsCKwpL kGKI+nNn/Yu7XAIafUj9LGx4oZwSWD+Q8UhNsjons/KppfEN+5CoFXtVUxJJwBu/9TN0 hL9ChVdtxdChbc7n+Er8ssuPzdp74HeUPDeYctF09f7Eb4DgcEGFRdeaaWlAggW3TPpX mdAw== 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 g1-v6si3235171plm.747.2018.04.04.06.50.38; Wed, 04 Apr 2018 06:50:53 -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 S1751233AbeDDNta convert rfc822-to-8bit (ORCPT + 99 others); Wed, 4 Apr 2018 09:49:30 -0400 Received: from mail.bootlin.com ([62.4.15.54]:49311 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750842AbeDDNt2 (ORCPT ); Wed, 4 Apr 2018 09:49:28 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 3DCF220702; Wed, 4 Apr 2018 15:49:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from dell-desktop.home (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id DF5C42037A; Wed, 4 Apr 2018 15:49:16 +0200 (CEST) Date: Wed, 4 Apr 2018 15:49:16 +0200 From: =?UTF-8?B?TXlsw6huZQ==?= Josserand To: Florian Fainelli Cc: Chen-Yu Tsai , Russell King , Maxime Ripard , Marc Zyngier , Mark Rutland , Rob Herring , devicetree , LABBE Corentin , quentin.schulz@bootlin.com, Thomas Petazzoni , linux-arm-kernel , linux-kernel Subject: Re: [PATCH v5 01/13] ARM: move cputype definitions into another file Message-ID: <20180404154916.66870e98@dell-desktop.home> In-Reply-To: <4ba0f1c4-a52a-b9f5-67ac-bf348a13228a@gmail.com> References: <20180403061836.3926-1-mylene.josserand@bootlin.com> <20180403061836.3926-2-mylene.josserand@bootlin.com> <4ba0f1c4-a52a-b9f5-67ac-bf348a13228a@gmail.com> Organization: Bootlin X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 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 Hello Florian, On Tue, 3 Apr 2018 12:56:30 -0700 Florian Fainelli wrote: > On 04/02/2018 11:52 PM, Chen-Yu Tsai wrote: > > 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. > > Which is effectively what this patch does (still waiting for an ACK): > > https://patchwork.kernel.org/patch/10239855/ Thanks for pointing out this existing patch. I will use it for my next series and add my Tested-by (once tested, of course). Best regards, -- Mylène Josserand, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com > > > > > ChenYu > > > >> Signed-off-by: Mylène Josserand > >> --- > >> arch/arm/include/asm/cputype.h | 94 +----------------------------------- > >> arch/arm/include/asm/cputype_def.h | 98 ++++++++++++++++++++++++++++++++++++++ > > -- > > To unsubscribe from this list: send the line "unsubscribe devicetree" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > >