Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1515628ybc; Tue, 12 Nov 2019 23:20:44 -0800 (PST) X-Google-Smtp-Source: APXvYqyqfBIZncwuOi+34BzgNwggqo2/VLpMJJLMEAhKjC+PWnLyW2QVTjnqkxiuVPo0tQz3CwGx X-Received: by 2002:a17:906:198c:: with SMTP id g12mr1295215ejd.247.1573629644565; Tue, 12 Nov 2019 23:20:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573629644; cv=none; d=google.com; s=arc-20160816; b=vlJDEkqg8eYOGnXGuKSgBPDSWwRKnD9dqrLyDgi0Qtj8acQULsTnYVVxbEhUk24nzS G2UdH3dZrT2hXH1BKsm9VtcuhBg8bn6XQTJFPxxSynOtZfV28pcYVH5xBvBHeaQwQuGW LozY13bHcLlEjvI5HFgcCjCPWwJsHkj5HbZW/nOXVmmvVRxJ19O5esWSVWNLIoRCFzxU e3l8kX9SWkF3pLHLwiapY9oilBsE7pYBYXOVBsrf8YEO10B3kVxTsDfmY7AjsBLpITVP +LSiPCs80yOZeWCUZ7D6+LPsV+BRfP9wOfJ262xvajDqJo5v3XjzBsXkI5AutwJYox5V vgWw== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=F5dHQdVRAaTpNRp+BuVlBL9qm+RFyST7QY7CQw03Vh4=; b=RZQNJZiBSS1phllPhHh3jBUDPM1KKZDZMMaWVNh3TD2fcDYcSLyfvs6Q3VYxipZoZ5 dk0v/P7iKjfGOxhmxupjmMVyf0pIv/1RYirMpLeb0MHdXWPn1OAXH19VEY7L1WKBM/Mj ovK0yREJcJbBlJxpnrFYazll3348LsLda5dMyvJ4hkWL2/ARcuB2J1L8Fi0MSYtn7PdF SFMShiC8WgmIURxXPuD7kwFyLwlTH+PT/FDtJQmVcBk73YEIQHo3alblgWpAGdR2Tl8+ sTooPaP+/oSFaLb9nVTZ0papaIUBel8W8ZGwKBx04mOa6JskFmeTUZSmt3ebQPj/0ePp MNvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TUJ4g+rU; 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 ot13si604859ejb.199.2019.11.12.23.20.20; Tue, 12 Nov 2019 23:20:44 -0800 (PST) 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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TUJ4g+rU; 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 S1727078AbfKMHSs (ORCPT + 99 others); Wed, 13 Nov 2019 02:18:48 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:43530 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726613AbfKMHSr (ORCPT ); Wed, 13 Nov 2019 02:18:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=F5dHQdVRAaTpNRp+BuVlBL9qm+RFyST7QY7CQw03Vh4=; b=TUJ4g+rUo104R/CBZ+5wCzOi/q HTPOTOzTpwhFePhYrf5p+SaLvdHPZEhtU/u4WJt++bx+hOrpaVo13X6cmI53EYiYsbvNFMf3mMc1w 0O3ooX5m29IslHOHXmf4zjnNSLCz4GMFdGIoDEfLHKvqjtUjstJoujky9CJxbDfjq+Mpsp9Qevpf5 ei4UqXh3WBXPhlfTAGEhl/VRUR9fpf5t5jnJGfnkh+r8MgmgPb8lRmuRWcTM/dus5SGAng95GWiYv vOTmNdyQapjjpjrv30GvOeCLFi8W+DGXmRICwAYQLsQTyOcSJ17qk5lVlMvOqFLk7WjlcCBql8A+o NrSrFKXg==; Received: from [2001:4bb8:180:3806:c70:4a89:bc61:5] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iUmvO-0008Bq-52; Wed, 13 Nov 2019 07:18:46 +0000 From: Christoph Hellwig To: Muli Ben-Yehuda , Jon Mason , x86@kernel.org Cc: linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: [PATCH 3/3] x86/pci: Remove #ifdef __KERNEL__ guard from Date: Wed, 13 Nov 2019 08:18:36 +0100 Message-Id: <20191113071836.21041-4-hch@lst.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191113071836.21041-1-hch@lst.de> References: <20191113071836.21041-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pci.h is not a UAPI header, so the __KERNEL__ ifdef is rather pointless. Signed-off-by: Christoph Hellwig --- arch/x86/include/asm/pci.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/include/asm/pci.h b/arch/x86/include/asm/pci.h index d9e28aad2738..90d0731fdcb6 100644 --- a/arch/x86/include/asm/pci.h +++ b/arch/x86/include/asm/pci.h @@ -12,8 +12,6 @@ #include #include -#ifdef __KERNEL__ - struct pci_sysdata { int domain; /* PCI domain */ int node; /* NUMA node */ @@ -118,7 +116,6 @@ void native_restore_msi_irqs(struct pci_dev *dev); #define native_setup_msi_irqs NULL #define native_teardown_msi_irq NULL #endif -#endif /* __KERNEL__ */ /* generic pci stuff */ #include -- 2.20.1