Received: by 10.213.65.68 with SMTP id h4csp3219763imn; Tue, 3 Apr 2018 00:36:09 -0700 (PDT) X-Google-Smtp-Source: AIpwx48P8UqWsXydvmwH2hGJfm8rsWu5rrJ3d/Ai9p+M1iCQxiMjRANHba/0UOBKWOvpE1ODFKGo X-Received: by 2002:a17:902:7688:: with SMTP id m8-v6mr2319624pll.340.1522740969535; Tue, 03 Apr 2018 00:36:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522740969; cv=none; d=google.com; s=arc-20160816; b=RfYy/gjpCiOunIavALGkgynd5Mt2KbzDADEsj60ZtOO8xbGIYmr49a7H3G49TmHOCD 1irDG7ZrmWeM+wY5SQJX/+LgRaqRwB7zsDvNav3yry1/JZZ0DvDBbCVLojucxNklafrB UZGZGVeIHsipGK5QhNVtpTp/ee72zOW4kqxNu/5s1uZjGjzgoaBY7dzWoA4OgD3v5vab S3U0cbqtXslaexnm6tyBwkMcYJTwK9EtBaqy+GxGZYlKWf99vzCmYr1Af52CByQwR+4K MF8uFVn6qzlk9NF5N3IIyiZgPG3VhlX/VLNX9TkXDVApDZlQ8wON5UW9iwrjiV2kB/NW FiBA== 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=KsesRX5Jcp0Qq6kFrwsihqNrVBLjR9DXqfQfqO6g+4g=; b=wmBWXGvtp0LJTbxvD1q2d9y75trwyJPf8d14oBsB0oMiWZ9S2pvhtrtE7BgAWYqmbe +/1yF+zyBNciqgeQXmqlJzXnjuI9ONK7F4iPK0me9kEs9wRoY74MrLE1IM3cPYGuaqmC nLSkOVadPqiKy0LgBPPjG7AcUMtd08lL5ytYZ2CeW5YJsJPKEWFIkjoZ33V2tXetIxZE IhGckAY2FvZVVg/9zbz6NNZj5EC4DUBoq/8/JzNtEXwjfdR1i50AwVf8w7BCtimnkelV Ak6kmaIkNawT6mnfKSzwkapz0wWUmzFXnlxvRQxsGc3YsShVwAT1NO8a69xC6nYfPDUu bLGQ== 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 t137si1530563pgb.288.2018.04.03.00.35.55; Tue, 03 Apr 2018 00:36:09 -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 S1754793AbeDCHep convert rfc822-to-8bit (ORCPT + 99 others); Tue, 3 Apr 2018 03:34:45 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:52740 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753250AbeDCHen (ORCPT ); Tue, 3 Apr 2018 03:34:43 -0400 Received: by mail-wm0-f50.google.com with SMTP id g8so7229871wmd.2; Tue, 03 Apr 2018 00:34:43 -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=urAkwpv2grv8uWe6BKjghW2KmQD8sBH4DPAG/cUM3GI=; b=PFGVUFZzksyFlcnQBFRMdaZLcV+isbV5fu8BXKwhXkaE9tQi/jvpFpZrWmFIVtRIHH 6medFe78GDSAcaWPnXh8h39aFAUOODMdGD/xP1kZmQB2vUNV3X1drbvTEa+cc8u+q0xA pkZ7qJBclQtMgMAGwm6hHYhw0R3NFU8VYSTg+sm/1+jGUW0BlYwiGuI4oguKeS+khi4N f+Ua9AziOafPSfQSwlXIYYgGJkAYtVab12vNNNYBucjU70X94yooabw2guYVzYpgpuRr b9qGD9/G8XUffFbLPhe5zj88w8XLb+NKsvA5RMG1HOB7HZBHvbrbpjN57gV50LxuBSLT 1Nyw== X-Gm-Message-State: AElRT7FWQbFLg32er11gs4qvW2fggEKJv4EFF1TJKg1b8VUVL9AcwO0l LsFtybUdc7nUHcWLkyA/bbj5k+6e X-Received: by 10.80.212.213 with SMTP id e21mr15397360edj.205.1522740882269; Tue, 03 Apr 2018 00:34:42 -0700 (PDT) Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com. [74.125.82.43]) by smtp.gmail.com with ESMTPSA id p18sm1269312edm.57.2018.04.03.00.34.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Apr 2018 00:34:41 -0700 (PDT) Received: by mail-wm0-f43.google.com with SMTP id r191so418361wmg.4; Tue, 03 Apr 2018 00:34:41 -0700 (PDT) X-Received: by 10.28.148.129 with SMTP id w123mr690717wmd.116.1522740881659; Tue, 03 Apr 2018 00:34:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.164.129 with HTTP; Tue, 3 Apr 2018 00:34:21 -0700 (PDT) In-Reply-To: <20180403092724.607e8e37@dell-desktop.home> References: <20180403061836.3926-1-mylene.josserand@bootlin.com> <20180403061836.3926-2-mylene.josserand@bootlin.com> <20180403092724.607e8e37@dell-desktop.home> From: Chen-Yu Tsai Date: Tue, 3 Apr 2018 15:34:21 +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 3:27 PM, Mylène Josserand wrote: > 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. I'm not sure about the policy, but I kind of assume any header under "asm" would be usable in assembly files, so the guard would be better. ChenYu