Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4351515imm; Mon, 30 Jul 2018 13:02:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfomLv+p65D0ogdB7oh6oBCH9ekFJhmMsxHV+W0Z+U4fC6mgagvJkBBMDcIU9gqHKpmVQOU X-Received: by 2002:a17:902:bd07:: with SMTP id p7-v6mr18003994pls.32.1532980936535; Mon, 30 Jul 2018 13:02:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532980936; cv=none; d=google.com; s=arc-20160816; b=zqwXNVkx25lVQoQPImybLqhUoSTb5MNLqWL56iFzadS2/7z7i/HrWQWRG5A4kGDf4F btm7BZK4w/VhPJSn8Oz18P4RqGvwB9F6n641S1gl9G4CtZ+8TrqVaHZZ+1UjmkWnmwoO SGiJRY4bhKb+itR26qs89gx6crVV40kMtaq8VGJNUqosILl9nDtmD2lZBow9+8KIXO97 OYMCSBaILXXa88WIyEJHfjVrf9cH3x/GUhEU1f9t0zGYvg7HRDiSVS1Fm+CEvLLTkQBZ I/RJdrrAQDGls0b/1DO5/Xz+g/AM7hq3JKKBdUGjvpHH5bUudtf+aIRJxJA1HiS8owNx fTWg== 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 :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=+aoViEekTq20Yri7xfPRbXLvGF54XI0dvqBCkJtc9Ws=; b=1AoQLP+Lpgu4UMuls6ioGgTB3Xk20JDZzT41MqoZkV41rx9H4gQcmDlaLwqUYRkFOO wE+sknGU4J7mdFPm5BhlxLhetV3/VLteS14cQyVrybzuqfCSb4rCj8WpT9HLHX5oGvBU 8mR6ldHEyAO44D0EnuJWc5fDqa+eKjwIwIBoxIxBAL7WN+JFqw9MB6HkUfO7KlTa4S4h S9XKNjv2LVhnIAUxfLGhPNbxqU5BfJFG300fque+paYa32Htt76Ccb6A2EbeNmHdBts3 2xRAFblRs5NOXRRKdLVtzzqjZWhGBxYCtc2Hjn8uN3CL30Zp6dCI7QCEiYSKzSEqI0e5 p8nA== 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 y38-v6si10373305pgl.73.2018.07.30.13.02.00; Mon, 30 Jul 2018 13:02:16 -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 S1731802AbeG3Vhq (ORCPT + 99 others); Mon, 30 Jul 2018 17:37:46 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:36572 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729315AbeG3Vhq (ORCPT ); Mon, 30 Jul 2018 17:37:46 -0400 Received: from localhost (71-36-117-41.ptld.qwest.net [71.36.117.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id A7B9913F6E186; Mon, 30 Jul 2018 13:01:10 -0700 (PDT) Date: Mon, 30 Jul 2018 13:01:10 -0700 (PDT) Message-Id: <20180730.130110.34198079056845850.davem@davemloft.net> To: thomas.petazzoni@bootlin.com Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, marc.zyngier@arm.com, hannah@marvell.com Subject: Re: [PATCH 1/2] sparc: move MSI related definitions to where they are used From: David Miller In-Reply-To: <20180724115305.11289-1-thomas.petazzoni@bootlin.com> References: <20180724115305.11289-1-thomas.petazzoni@bootlin.com> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 30 Jul 2018 13:01:10 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Thomas Petazzoni Date: Tue, 24 Jul 2018 13:53:04 +0200 > The definitions in arch/sparc/include/asm/msi.h are only used in > arch/sparc/mm/srmmu.c, so it makes sense to have them in the C file > directly. > > In addition, having a custom arch/sparc/include/asm/msi.h prevents > from using the asm-generic version of this header, which is necessary > to be able to include when CONFIG_GENERIC_MSI_IRQ_DOMAIN > is enabled. > > Signed-off-by: Thomas Petazzoni Applied.