Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp10643604pxu; Wed, 30 Dec 2020 07:49:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6LJdkPRKGQF/NeO3Uwgp1+lcc0nn29KEJT0GQDUl3Y0yVF1mxrb1lnX/VE/KYHCGHfox3 X-Received: by 2002:a50:ccdb:: with SMTP id b27mr52546211edj.20.1609343356611; Wed, 30 Dec 2020 07:49:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609343356; cv=none; d=google.com; s=arc-20160816; b=nQ3P3oMKxL5aghSKqSs8gyq3uBLR+Y/fTTNMHLtzZtupLMhjXUsZ7QXd1/210R2Lqa sGQOZvqwyJpTh830Ztmsq7QqUPo5JX8A2aRpsijIj2f6fP3GbSee28+4YKo06wh6WvKV 3jbzMcksg3s/WzXruimzMn8KBWXL9jwIHpLGUIhbJa/7LLgQRiWiGwJ0Vx7j1dewtLOX kiUO76ZJoivTB0gaKXjcUe7BNgVRi0Uf+M1awHWgQK7wBNDIzUmZJYL7m/RMzFRXNFz1 jE5NSqlb+PfmF4EZ6WepbpMCaJMA9u3bivYEL9sSQCH7lQjGgJKtQshQDS2fPcfFTNh1 spmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=GFRPo4+7lm8ZTOFEVMGo/TRE8dR1pmqsssZizuTgVr4=; b=MO1m/eP9/Uw5TCKSLAS9LV5ywmket77JDBcgDPgGJuyW67RoqDzQRTMHetxs58O71N bndStE7bG67EuX8R9iHgIDeN3qwJ+ichvKGJkBkaV0tXHWikMDe+hoQHBnzgjRLrJj1F ihmU3jg5WhF5iXdO6B8ULGGo+LUGBmqzK0Nytv+2yYMXWpcPa4V1vBfCRpzXa0sRBVty sbTi5RNHI+HDKCJnE0k7DOpgfK7jo9bgLSvZy2Bi89dGRJHqun/+1YSE3cU7dvRCgwDo iFFknhWzSPicS74qHrsBXfv4+d2ISXLJYEC57vaAJ/R/77pbqJjnztAftu37iFt1BtBZ r0Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Akb7KZ0u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si23924607edr.121.2020.12.30.07.48.54; Wed, 30 Dec 2020 07:49:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Akb7KZ0u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbgL3Pqo (ORCPT + 99 others); Wed, 30 Dec 2020 10:46:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:46098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbgL3Pqo (ORCPT ); Wed, 30 Dec 2020 10:46:44 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id EEFAC20725; Wed, 30 Dec 2020 15:46:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609343163; bh=iU86KZtWe9c/XSBAjiylt0tQHEAv++h9tSjXqghxDjk=; h=From:To:Cc:Subject:Date:From; b=Akb7KZ0uPEuo8S66zBksOtQwDHA83N/8OyrWJa28zWP/bSDsQPyrpECLDQ0NHTH+F /0ZYt9zv8YXsC1NYGPlRrMYwnOlyGEfMaX1A4UMkUIxQR2h7LfMVuDQZiFwsBN0qa5 k91gMaksQksFuwE2w0YxWsds0CLsI5ctKlgUdbOy9jeTA8B8l3GY1SRF7U6GOOOSMk /wsjas6eJ9dnnZNm2uer0LuZgXRGhss9VZUeI2hOyYwazt3iFs1X27DFz0nNLxfvOk 0cBJyE+06Zq1NFbgo5if1S7D/AmxD46N1HSz3PzVl1B/2f7il+DtzUEGr06C3pJhHi q5HfC72/ypLyg== From: Arnd Bergmann To: Thomas Gleixner Cc: Arnd Bergmann , Marc Zyngier , linux-kernel@vger.kernel.org Subject: [PATCH] genirq: Export irq_check_status_bit Date: Wed, 30 Dec 2020 16:45:40 +0100 Message-Id: <20201230154600.697832-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Changing some inline functions to use the new irq_check_status_bit function out of line breaks calling them from loadable modules: ERROR: modpost: "irq_check_status_bit" [drivers/perf/arm_spe_pmu.ko] undefined! Export the function to make it work again. One can debate over whether this should be EXPORT_SYMBOL() or EXPORT_SYMBOL_GPL(), as it could be called from any module before and making it GPL-only changes behavior. However all other symbols in this file are EXPORT_SYMBOL_GPL(), so I went with that for consistency. Fixes: fdd029630434 ("genirq: Move status flag checks to core") Signed-off-by: Arnd Bergmann --- kernel/irq/manage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index ab8567f32501..dec3f73e8db9 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -2859,3 +2859,4 @@ bool irq_check_status_bit(unsigned int irq, unsigned int bitmask) rcu_read_unlock(); return res; } +EXPORT_SYMBOL_GPL(irq_check_status_bit); -- 2.29.2