Received: by 10.213.65.68 with SMTP id h4csp3214439imn; Tue, 3 Apr 2018 00:28:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/wzBRzPDfZ0V8s6bYzYocDPjDjOOP6nxVFg3t8XhnFY6y4LqX7Kq6sxAlO/LSKwpZ3O8x3 X-Received: by 2002:a17:902:444:: with SMTP id 62-v6mr13282089ple.127.1522740535865; Tue, 03 Apr 2018 00:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522740535; cv=none; d=google.com; s=arc-20160816; b=zxY2jwzkM9jWSWNivYnGtpnv3ZfVz+y3Zy/Hhe0Za/+oNq+HsLBu8n++EQVVfzX712 JFZVr3UCJQzH5v75hsfI+wJAydt8Je/gK1uVSzc9tnZD6ZnTd6LmCCaX5uvzZwOf37Ke EEd+t3bMLAxmDaItcQM5sqB43FI6APFO3P7np9N/RxeIHqv3oXO0flqYbzeP5SOMmOVO 39lPCj9Tp8HFZTcZrpzz10aJ9+qdHqdxNVAYSnZNWp2tptWbWAJh2Bzo6ZUjMaUdCslw WY4xoCRBfaMTlyWvXi8+EcDNgS4rof7cAy94EkgnFI8i7Af35JstoOq5A9F0zBHFG+// sFQw== 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=/oqP47Fpl4blpVJ+wlt1eLnNaRmT5Rhm5V60ULDlpiA=; b=EjhcgkxwrdvMKRhSrczfA7zkbvy7v8VprGJYf9o+lqEpBuADKo86s3jh4WgGCmOAxc 6ZqRgUM4Ub6DEmDHEUlMf51GtTi5poj+5RVVuU526C7oN3RD3nyNEeuo3HJJ9tE4XDed PmlhU2wmGSXpLwgOb7rH48EA/KvvpNUv1A5ICtaozmaouMgfjqf9oGRyS1KAfq1mfunV P5KZk2/5/6OmOwvxGHAc4B0dUClAQfMcni37qYSxpgyTpyPgpm0R8Nb4YQ+AsjO6Yzse Ya5jNUX8mVHDrKc79WJmHgUezGvmzExBOIhGRnwmhRs4rGJ4KKDEQslLeeu8WjXE/jvM e6Dg== 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 z11si1692489pfi.406.2018.04.03.00.28.40; Tue, 03 Apr 2018 00:28:55 -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 S1754750AbeDCH12 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 3 Apr 2018 03:27:28 -0400 Received: from mail.bootlin.com ([62.4.15.54]:37546 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754276AbeDCH10 (ORCPT ); Tue, 3 Apr 2018 03:27:26 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id A4A092075F; Tue, 3 Apr 2018 09:27:25 +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, URIBL_BLOCKED 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 4D2C520713; Tue, 3 Apr 2018 09:27:25 +0200 (CEST) Date: Tue, 3 Apr 2018 09:27:24 +0200 From: =?UTF-8?B?TXlsw6huZQ==?= Josserand To: Chen-Yu Tsai 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 Subject: Re: [PATCH v5 01/13] ARM: move cputype definitions into another file Message-ID: <20180403092724.607e8e37@dell-desktop.home> In-Reply-To: References: <20180403061836.3926-1-mylene.josserand@bootlin.com> <20180403061836.3926-2-mylene.josserand@bootlin.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 Hi Chen-Yu, Thank you for your review! On Tue, 3 Apr 2018 14:52:45 +0800 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. Oh, right. It is better with this check so I will use that in the next iteration of my series. Best regards, Mylène -- 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 ++++++++++++++++++++++++++++++++++++++