Message ID | 20210924170546.805663-7-f.fainelli@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=n783=OO=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F619C433F5 for <linux-arm-kernel@archiver.kernel.org>; Fri, 24 Sep 2021 17:11:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 416BE60F24 for <linux-arm-kernel@archiver.kernel.org>; Fri, 24 Sep 2021 17:11:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 416BE60F24 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zp0p34aRBR+FtXcEY33TrVNXmBrkAw1zRoraIIipP3w=; b=Gpduw1GcT+m8N0 yz4OWovy91/HIwMeqJlIqjEDwIZm9qFIUoHCjOvFpXMh9X+2jI2k6OKSdkCOHroTsvJCecbaT5lEQ sUOh9/zcPxnWhUQFbs2dFbTlxDrV3840+Fw4SAw68hQSG031PU7txxUSo8R2trD+nPOMSecW1vgjR ar8rpaEEmdEIQjfwiXKbay7UrIWWEfgHai9v0bgzKt3TNyRV9jiA+3QmQfGggtCBxnjGneliKKrNY rIkKE8161AxNQcCjSyQ2r6Vb5n03rwrVI8LXSgJlWeGTIEnZj9DIj3SQih0UCvYNAEIT0LGTUCKuK PoXydjpewDXrq2apILLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTogO-00FAox-Cm; Fri, 24 Sep 2021 17:08:20 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTofA-00FAPy-HX for linux-arm-kernel@lists.infradead.org; Fri, 24 Sep 2021 17:07:05 +0000 Received: by mail-pl1-x62b.google.com with SMTP id t11so6894199plq.11 for <linux-arm-kernel@lists.infradead.org>; Fri, 24 Sep 2021 10:07:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cLaNe7Oyl1seZD/HRHq9xGsMnTdlxwayLK+zY+0ZWyA=; b=a6B1fa1EFrAyHMDyM2bRqowYA1m2gfbCYpCnZ/RTz6m1F/Z/dQlchqxnx+mBDb+dUb 1zBxVAMktpHRLTNreaAWvXJy2PVijGItNZakSO6PhHijTWtNuhDBF0j9KRSoTNmVdxyH EUwywnfXZgaSzj0u27/le5yrpqvniLeRzg1xhhDTjpWFns6sCijGrDkpOnYz2rH36xeh LhnmONjIKUF25mIhxriUVeFCVwZYBTMbrJGBWjjOJ2Umy0b8E/scVDHFbhD86HN9fs2X CN3PDE6UG6lqMgjFeAizrORVDempoxTSHGp+91ePHvUOyRZ++vTwYT4QZWvfi5ZAXnnQ mlLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cLaNe7Oyl1seZD/HRHq9xGsMnTdlxwayLK+zY+0ZWyA=; b=U/+IGDklDqXHLLoHZovlEmV+hej6uh6g0sZ1dOv+NIzWRYy9N9gv05wu4KjhHmWqyk 0c390P1hBtNHz1iUsq5E2ptFwTaPV6AZl97/iERkZdr9Jq749rVwKAr/fCSRxUMRmtUX fZknFj99ppcDb7HHM2etO8lvaikEaEKPd0Qfkw0FaMyH5SgE+UHet8aNBal+hqi+7cMm ozdOQpZriEo/luhivHkWYTg5rHn0nobPPS7QJ5l5wWkT/S//n6tXfiW+bBQfdXeSNamy y8JiEJQKCJxIBFiZvLNQipiwuSTvrMoNYy3d0by/0fUhwmMamqUhxpv/gmhZ8wnCtc6x XHXA== X-Gm-Message-State: AOAM530c6OE5r/ZRDRGEIKeo8RZqT9xU9x27ahlvp9+AFo/iO6WZwdyA 8VNNwJturGaj2PParqJNaY4= X-Google-Smtp-Source: ABdhPJz92OdAzfkcpV8HuUJAcB177uT4jGMbXurYka0CQhlrf4R+Y8WUWjfM0nLp+Yz1RCQQ228a5w== X-Received: by 2002:a17:903:187:b0:13d:fd13:8862 with SMTP id z7-20020a170903018700b0013dfd138862mr662576plg.85.1632503223371; Fri, 24 Sep 2021 10:07:03 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id k22sm9659312pfi.149.2021.09.24.10.07.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 10:07:03 -0700 (PDT) From: Florian Fainelli <f.fainelli@gmail.com> To: linux-kernel@vger.kernel.org Cc: Florian Fainelli <f.fainelli@gmail.com>, Russell King <linux@armlinux.org.uk>, Ray Jui <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE...), Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Yoshinori Sato <ysato@users.sourceforge.jp>, Rich Felker <dalias@libc.org>, Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <maz@kernel.org>, Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, Ard Biesheuvel <ardb@kernel.org>, Mike Rapoport <rppt@kernel.org>, Linus Walleij <linus.walleij@linaro.org>, Andrew Morton <akpm@linux-foundation.org>, Geert Uytterhoeven <geert+renesas@glider.be>, Arnd Bergmann <arnd@arndb.de>, Guenter Roeck <linux@roeck-us.net>, Kefeng Wang <wangkefeng.wang@huawei.com>, Mark Rutland <mark.rutland@arm.com>, Andrey Konovalov <andreyknvl@gmail.com>, Anshuman Khandual <anshuman.khandual@arm.com>, Valentin Schneider <valentin.schneider@arm.com>, Ingo Molnar <mingo@kernel.org>, Peter Zijlstra <peterz@infradead.org>, linux-arm-kernel@lists.infradead.org (moderated list:ARM PORT), linux-sh@vger.kernel.org (open list:SUPERH), linux-mips@vger.kernel.org (open list:BROADCOM BMIPS MIPS ARCHITECTURE), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE) Subject: [PATCH 06/11] genirq: Export irq_gc_{unmask_enable,mask_disable}_reg Date: Fri, 24 Sep 2021 10:05:41 -0700 Message-Id: <20210924170546.805663-7-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210924170546.805663-1-f.fainelli@gmail.com> References: <20210924170546.805663-1-f.fainelli@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210924_100704_607332_C8CDBDE8 X-CRM114-Status: GOOD ( 13.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Modular Broadcom irqchip drivers
|
expand
|
On 9/24/2021 10:05 AM, Florian Fainelli wrote: > In order to allow drivers/irqchip/irq-brcmstb-l2.c to be built as a > module we need to export: irq_gc_unmask_enable_reg() and > irq_gc_mask_disable_reg(). Note to self: this needs to come before patch 5 to avoid a modular build linking failure.
diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c index cc7cdd26e23e..4c011c21bb1a 100644 --- a/kernel/irq/generic-chip.c +++ b/kernel/irq/generic-chip.c @@ -44,6 +44,7 @@ void irq_gc_mask_disable_reg(struct irq_data *d) *ct->mask_cache &= ~mask; irq_gc_unlock(gc); } +EXPORT_SYMBOL_GPL(irq_gc_mask_disable_reg); /** * irq_gc_mask_set_bit - Mask chip via setting bit in mask register @@ -103,6 +104,7 @@ void irq_gc_unmask_enable_reg(struct irq_data *d) *ct->mask_cache |= mask; irq_gc_unlock(gc); } +EXPORT_SYMBOL_GPL(irq_gc_unmask_enable_reg); /** * irq_gc_ack_set_bit - Ack pending interrupt via setting bit
In order to allow drivers/irqchip/irq-brcmstb-l2.c to be built as a module we need to export: irq_gc_unmask_enable_reg() and irq_gc_mask_disable_reg(). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> --- kernel/irq/generic-chip.c | 2 ++ 1 file changed, 2 insertions(+)