From patchwork Mon Apr 23 17:04:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 903049 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=sparclinux-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="bQg6t8+s"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40VCW24DGCz9ry1 for ; Tue, 24 Apr 2018 03:04:46 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932124AbeDWREp (ORCPT ); Mon, 23 Apr 2018 13:04:45 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:39204 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932129AbeDWREm (ORCPT ); Mon, 23 Apr 2018 13:04:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding: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=P8uU42LbTyUVQyRrcUxev/6tEt9+uWT9QGqTtsGU7rA=; b=bQg6t8+srpq4rQWSkp1wXdiMt kyy8WbcGLVfp1J0apzfW+RJM2TEG4unJeOaIBX5VwKsdPjXr70dE7qzIKqj7ZJvP4Q2IHU7zrhMjn +T8EXVkDyWFHWYDvBdEt+CRnvRYhlRYgST1DEv9L+6SkUMuSy/APXiVF/nDoj65702xrjKa40LhWB 3MWo3clkVcajUzODQ/z6evwU4QS6lTbTwzy8LPrmtj/p4MDms6gHNJMVTcSAiPx3eKCLS/CZsf7qY cGNHbAqQQT21CbXL8nXaNXFmS4Uf412kEkbJ/64ywiKdrtPstV2e+fgro0JtWZjCeHy85EoHe9u7g VSu+tAewA==; Received: from 089144198044.atnat0007.highway.a1.net ([89.144.198.44] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fAetB-0008UH-8G; Mon, 23 Apr 2018 17:04:29 +0000 From: Christoph Hellwig To: Konrad Rzeszutek Wilk , iommu@lists.linux-foundation.org Cc: x86@kernel.org, linux-block@vger.kernel.org, linux-pci@vger.kernel.org, linux-mm@kvack.org, linux-mips@linux-mips.org, sparclinux@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 02/12] iommu-helper: unexport iommu_area_alloc Date: Mon, 23 Apr 2018 19:04:09 +0200 Message-Id: <20180423170419.20330-3-hch@lst.de> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180423170419.20330-1-hch@lst.de> References: <20180423170419.20330-1-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: sparclinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: sparclinux@vger.kernel.org This function is only used by built-in code. Signed-off-by: Christoph Hellwig Reviewed-by: Anshuman Khandual --- lib/iommu-helper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/iommu-helper.c b/lib/iommu-helper.c index 23633c0fda4a..ded1703e7e64 100644 --- a/lib/iommu-helper.c +++ b/lib/iommu-helper.c @@ -3,7 +3,6 @@ * IOMMU helper functions for the free area management */ -#include #include #include @@ -38,4 +37,3 @@ unsigned long iommu_area_alloc(unsigned long *map, unsigned long size, } return -1; } -EXPORT_SYMBOL(iommu_area_alloc);