Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753931AbdHRAxt (ORCPT ); Thu, 17 Aug 2017 20:53:49 -0400 Received: from mail-cys01nam02on0075.outbound.protection.outlook.com ([104.47.37.75]:46231 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753875AbdHRAxp (ORCPT ); Thu, 17 Aug 2017 20:53:45 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=David.Daney@cavium.com; From: David Daney To: Linus Walleij , Alexandre Courbot , Mark Rutland , Marc Zyngier , Thomas Gleixner , linux-gpio@vger.kernel.org Cc: linux-kernel@vger.kernel.org, David Daney Subject: [PATCH v8 1/7] genirq: Export more irq_chip_*_parent() functions. Date: Thu, 17 Aug 2017 17:53:30 -0700 Message-Id: <1503017616-3252-2-git-send-email-david.daney@cavium.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1503017616-3252-1-git-send-email-david.daney@cavium.com> References: <1503017616-3252-1-git-send-email-david.daney@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: CO2PR07CA0061.namprd07.prod.outlook.com (10.174.192.29) To CY4PR07MB3493.namprd07.prod.outlook.com (10.171.252.150) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 03ecb56d-85d1-4a7f-23df-08d4e5d391d4 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:CY4PR07MB3493; X-Microsoft-Exchange-Diagnostics: 1;CY4PR07MB3493;3:k9ZxaxvXmIAx9GQA1dgKny9TQSZmvwTqEUZVY/tf4xijtuZFfbtkZoYOc686YPltQkkLRgyJhtbIyOyM3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5LQryyMzg0ZpeNGHsV0p2IOn8VmkcvNS7R+FfJIv8+SrVEmi6zMTl8Y02kfcVbShjIVDlNV2/9aS06+vhs6nqylb9hzD3RMns0umrF11GMAUqiKJTUoLZs3Y6fH6X1BI7YLXXJBTs1EdHivPfeEvbcVxKl1moYjIOb2YniDoCJO/fszNJgDLnfnnANGuD1D+I9y/2hfJrhQQYX7Pz5phemBCBFQ9J9lhQRAgqAmawKMfArKpetO7bCFm8Uy4oU2;4:Ccp2kHtmBCwHudpdYJiLGnj7N+VZYnFqdcFww6byGMwP0Ka9FZqcEMGGzzblfVs1RdPKQUkdoKGRhhMezqc8rCWzCsfy3LEhqiLneIhzzSwd2howyu6tGi3e/N44N9QAmV7J4VTofiY+aERI7x0JF5EQKojc8hc7o9uyLhw5hLDa5xRDchxKT6lmK/0102B/zOxUon0IsJx/tdyA+YY6V8ToP3gi9CXGurJTLWZHI24IUjaEVuZtbV3zssCIJ0ux X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY4PR07MB3493;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY4PR07MB3493; X-Forefront-PRVS: 040359335D X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(7370300001)(6009001)(189002)(199003)(69596002)(72206003)(50226002)(6116002)(3846002)(4326008)(105586002)(42186005)(2950100002)(6666003)(5003940100001)(4720700003)(76176999)(50986999)(5660300001)(189998001)(7350300001)(53416004)(33646002)(101416001)(53936002)(478600001)(6512007)(50466002)(2906002)(48376002)(7736002)(68736007)(107886003)(66066001)(25786009)(86362001)(47776003)(97736004)(36756003)(106356001)(6486002)(6506006)(305945005)(81156014)(81166006)(8676002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR07MB3493;H:ubuntu.caveonetworks.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY4PR07MB3493;23:MmpyjXbGty5vJ+XOaB5RtDhKFztNqMgj1pMitzuJz?= =?us-ascii?Q?kQvuB0LnW2iK6WEH1oOIVLZbYN+X11iW0FW2LpbU5xemuWgnB9zC2lp/jTxU?= =?us-ascii?Q?UGf9tF9Tf9/OVIBTMgP8qMolD1+wdFlU6u1L201nKfk1KrZXwJzSudqe5dRe?= =?us-ascii?Q?828E+GmSnuhoEjhYi07Y/DQ4dkRGMgnJQqCQVAjh+V+nIu7cz5npHloVEEEG?= =?us-ascii?Q?MAfK/KN7VXaaCImW93v/Us7ZlzYPMefMuTxbIUGdy94nOLhLCXv3DNJhWmYd?= =?us-ascii?Q?4GNHOS59Xsj+0tZMPVmvOAeGFM1oY/EGE+mIXI6gsaHHKmpnhzuQHEZ3O0qr?= =?us-ascii?Q?aD7dV+WvK1KOBBXj1VH0GzkbqIMeL1nEKnKv2RzWnM3ZVTB6D0d1IXQY8IaL?= =?us-ascii?Q?imNgb5oD7gpx4eRwtjF66WdsdRb7xw80J0pDHSBk/IjwkiaZO5sLxOZGq+T1?= =?us-ascii?Q?VxJOfFH0LnzwR41ZGfmbEPSbF+ZClgDyXBEDRTSuMkARrFWr1E7xgzhuDHqF?= =?us-ascii?Q?lays50dLRgkKUiJoJtpWIbb6YhbD6HkR2lL536lX94qiKHk4cdhUx3mltuHN?= =?us-ascii?Q?6sQa9PPe7om0DETLgfI/tiEG+Okn4xlZKQfVCZZenmJsb3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sBuHB9uGy+ttruzLyq+wckvkRPgRJNJRCJNhEx0Etpx5O2EsXQl6T/xBmcvlZLQtRbr6rVIR+J9C+b1fzfkcGZefg1+1qykfztlqZtKMKio/6Q5xY+s6xrAxMiGYJCi8ID+dHWVFA==;24:OzycGcsqY0KKBw6PtYYOBv7S9y5EmTJhfebWOtD7XrV5Napfz2z44JP8hezKbgQMEzTH1XeBgEwD0fCmoYwLycVXxjdmvVKHKPDOOfDQ37s=;7:nGPcdhC7DusNBgDNX96t5hg4xKD+Zbv4Nzuus8aF8FnN2HGMd536sEcBWHqi82mHMNBmUFslr2y3louVEl9GI7dJhQW9cJD+A3UxRTGQG0xeSAOLiXr0Aa0i9a+TLzd9D9jxy6MtJ4UnN31pdJBS/PDoTKkEjaEmsZ1m13TNEbPtr7+oF7AyhGhDALKhvJXafttNisZ/4CNXwzYo2Id1Cuz0iNcyu87zd5GOM3ftc1U= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2017 00:53:40.8898 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3493 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1226 Lines: 42 Many of the family of functions including irq_chip_mask_parent(), irq_chip_unmask_parent() are exported, but not all. Add EXPORT_SYMBOL_GPL to irq_chip_enable_parent, irq_chip_disable_parent and irq_chip_set_affinity_parent, so they likewise are usable from modules. Signed-off-by: David Daney --- kernel/irq/chip.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index a3cc37c..6514f07 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -1105,6 +1105,7 @@ void irq_chip_enable_parent(struct irq_data *data) else data->chip->irq_unmask(data); } +EXPORT_SYMBOL_GPL(irq_chip_enable_parent); /** * irq_chip_disable_parent - Disable the parent interrupt (defaults to mask if @@ -1119,6 +1120,7 @@ void irq_chip_disable_parent(struct irq_data *data) else data->chip->irq_mask(data); } +EXPORT_SYMBOL_GPL(irq_chip_disable_parent); /** * irq_chip_ack_parent - Acknowledge the parent interrupt @@ -1181,6 +1183,7 @@ int irq_chip_set_affinity_parent(struct irq_data *data, return -ENOSYS; } +EXPORT_SYMBOL_GPL(irq_chip_set_affinity_parent); /** * irq_chip_set_type_parent - Set IRQ type on the parent interrupt -- 1.8.3.1