Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6879909imm; Tue, 24 Jul 2018 04:54:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcmdSjhxlywuUAMpxLM3npPK4BlBFYmNnoHzZty18vAIGCu8/WaWJ9ndc12VN/IenE9Ju7g X-Received: by 2002:a65:5307:: with SMTP id m7-v6mr16447651pgq.431.1532433271402; Tue, 24 Jul 2018 04:54:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532433271; cv=none; d=google.com; s=arc-20160816; b=VWyIQdSP91Opd8nZ0vkHlYGo7Q/BfEjpGLr9+x1nMxZOx0lXPKWbQ0tXZz6XaLFfkT GrX3cn4ZY39eFTH8x38cRRnVtYuXjckiSEeQVEe3IN24/htduxUIB82n0SbHujAoABcb OvBPggNfkPjsMm4REB/r+Qqw3cjCnX8fUZKsjLXhvTsXObvTWM6dacOIAesvc7sopul7 iTrriAVpKzcxZAcBOzd0SACZ4nEpMjBjle77cUjGW4N/rnzyaVhDLqHzHRC45O9pUZoS 0RkzyVG85JrPXHUbmkZjrJ6AUGu/JesfqpmYtonSFQMwovdBRZKowfXcws7qxfAjNi6A gy4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=ggvbl3poMb4I8M7rOFZ2daZ6Sql8rwTL607nICWPjt8=; b=IIDh2ppKXhppYxQWA+1njMkXfuzjm701wEkudiZG7Us21Ix1KmMbA6vkdiu414Es6/ yFmptSHQX0bbkxRiUwTs4RCmDfKPguWo2kUQoJiT6cI0O1HD9jtZuH41RqJRKPvXFDt8 kU8qejEDI1PV5M7Khur3J0oBECRwU+cItRzw2MXIKcnLiIqWI+X3Qga7S1x86I/edH7G ExMUmM/zAq0uKz3TBgWeZkMhE5v+8qrJDZaNaS6NoDATCZvHcfglmUULU9I1OImv7gCG Xx8w6xcivJv2JtZCSTscY/Bf6IchT/ONVMgfZuYj86kDIa4VW9mlGF2yatczTF8vgEiN 95cg== 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 g15-v6si10058423plo.23.2018.07.24.04.54.16; Tue, 24 Jul 2018 04:54:31 -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 S2388499AbeGXM7V (ORCPT + 99 others); Tue, 24 Jul 2018 08:59:21 -0400 Received: from mail.bootlin.com ([62.4.15.54]:57533 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388348AbeGXM7V (ORCPT ); Tue, 24 Jul 2018 08:59:21 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 17D69207AD; Tue, 24 Jul 2018 13:53:12 +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 localhost (176.199.29.109.rev.sfr.net [109.29.199.176]) by mail.bootlin.com (Postfix) with ESMTPSA id C84C1203EC; Tue, 24 Jul 2018 13:53:11 +0200 (CEST) From: Thomas Petazzoni To: "David S . Miller" Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, Marc Zyngier , Hanna Hawa , Thomas Petazzoni Subject: [PATCH 2/2] sparc: use asm-generic version of msi.h Date: Tue, 24 Jul 2018 13:53:05 +0200 Message-Id: <20180724115305.11289-2-thomas.petazzoni@bootlin.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180724115305.11289-1-thomas.petazzoni@bootlin.com> References: <20180724115305.11289-1-thomas.petazzoni@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is necessary to be able to include when CONFIG_GENERIC_MSI_IRQ_DOMAIN is enabled. Without this, a build with CONFIG_GENERIC_MSI_IRQ_DOMAIN fails with: In file included from drivers//ata/ahci.c:45:0: >> include/linux/msi.h:226:10: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'? msi_alloc_info_t *arg); ^~~~~~~~~~~~~~~~ sg_alloc_fn include/linux/msi.h:230:9: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'? msi_alloc_info_t *arg); ^~~~~~~~~~~~~~~~ sg_alloc_fn include/linux/msi.h:239:12: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'? msi_alloc_info_t *arg); ^~~~~~~~~~~~~~~~ sg_alloc_fn include/linux/msi.h:240:22: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'? void (*msi_finish)(msi_alloc_info_t *arg, int retval); ^~~~~~~~~~~~~~~~ sg_alloc_fn include/linux/msi.h:241:20: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'? void (*set_desc)(msi_alloc_info_t *arg, ^~~~~~~~~~~~~~~~ sg_alloc_fn include/linux/msi.h:316:18: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'? int nvec, msi_alloc_info_t *args); ^~~~~~~~~~~~~~~~ sg_alloc_fn include/linux/msi.h:318:29: error: unknown type name 'msi_alloc_info_t'; did you mean 'sg_alloc_fn'? int virq, int nvec, msi_alloc_info_t *args); ^~~~~~~~~~~~~~~~ sg_alloc_fn Signed-off-by: Thomas Petazzoni --- arch/sparc/include/asm/Kbuild | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sparc/include/asm/Kbuild b/arch/sparc/include/asm/Kbuild index ac67828da201..410b263ef5c8 100644 --- a/arch/sparc/include/asm/Kbuild +++ b/arch/sparc/include/asm/Kbuild @@ -13,6 +13,7 @@ generic-y += local64.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h generic-y += module.h +generic-y += msi.h generic-y += preempt.h generic-y += rwsem.h generic-y += serial.h -- 2.14.4