From patchwork Tue Sep 28 02:27:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12521583 Return-Path: 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 6A5C9C433EF for ; Tue, 28 Sep 2021 02:32:39 +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 3A74860F9B for ; Tue, 28 Sep 2021 02:32:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3A74860F9B 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=PNTQcUfDYYJwMK sjVJtZpocQ8YnAjvH76WxjPkEtxfHgEPtDAXhQS72lkheDBPZBAF5AwsOfHd0u4E6g/09c4D4OMDh 47ZCTKxDOh8fUX+GGzQHKtmmHvSYrz1GH0CpvG9WaveSgKZ+SWrW/SVvGf3je7cOghhOjMHMMquVT Z7XFCkxL+e44LaDEYFDWKclcH/YFF3ruq7dfAx87a7Uz6DO20ZgRH+IMXhP+RvY3bKscYQXFyvXvu YtlyGzt0MnbSOhs3hLSvJL75KVOXNm+1DxWovrboLRHxDX4Lbhd+TIlmBNjxJmMWSmHLBE52zNPCJ O1J4vkLhR4Q5VyJQnVoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV2tF-005H74-Qw; Tue, 28 Sep 2021 02:30:43 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV2rW-005GN8-Og for linux-arm-kernel@lists.infradead.org; Tue, 28 Sep 2021 02:28:56 +0000 Received: by mail-pj1-x102f.google.com with SMTP id h12so3504784pjj.1 for ; Mon, 27 Sep 2021 19:28:54 -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=N1gTh9rFur/1mj+KHXoIm9Lnqb4rWbe1Vv1z93jHoFkzZzU71z1oo8hYDzzOZtctwe pgDGQuxiAz9qE9D1nw9XiPDYJJxY3sW8PrVbNEY1BpEc/ZrUtu0YNKgn1MZ6s8sldn1K o3VXz9Q/wK2rR9xMGWLLUCjFlTvfYFw+7LIOzKy7JojsKx/MrZ5kaVCnNxW/+Lev7qPS q2x7nJxZB9PM3disdALDh5NYHyAdCUGIpHifABj7bCiwvWIEow69e9pNHzY8hLMirP98 uaRj/Duv8fBXsl/slvGpAv7978G2Bk5YI4EqrAA6tqb+n7UVnquoV2Rf+OvFIlhMgEWq CqiA== 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=Pff/y7OTw6rK3JTG1E5dNkNsxuueTuL1STTSGK3jNxLFeyHSAud3rwY/6ndU7t0+sQ Zr8aNz2hKfvp8RhYSMzUpDZBl68gzRMNCGlC1osF5ckxAo05wvW+lTuYTQUVKY6H02fo 9EoPlbj4hRshlsmPQrg9t7fTkCK1+CVaWjg9MQqpW7agdP3EBWlIJED2nUEoFS0h3u0l 0i0YBgF7U71vTyvU20B/nheD5qP+B1igZ7Br197cINHiJB3VaPOr/ST6KzI5HGYPkhM5 gESIfNgBvTCeS69XCGNYJtcV9IQAEVhWTzkUSZYAMUVOjV30I5JTEC5aHRTXqAfFtcMe oSYQ== X-Gm-Message-State: AOAM530FoKvKDKr9SNC5Zv40qN56xk0ay3rzZ2QwLgfCTLgFzhNN6kpq CKSEh7kuDSVjeSSxJezNtTw= X-Google-Smtp-Source: ABdhPJyGokI5IRD5fZh1+wouMAgSK2g5E4Q+/8ilRAPfu7Qfc6axwdlu7fLnabubqDadddNY09DUHA== X-Received: by 2002:a17:90a:af86:: with SMTP id w6mr2711826pjq.8.1632796134087; Mon, 27 Sep 2021 19:28:54 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id k14sm633261pji.45.2021.09.27.19.28.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 19:28:53 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , Russell King , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE...), Catalin Marinas , Will Deacon , Yoshinori Sato , Rich Felker , Thomas Gleixner , Marc Zyngier , Rob Herring , Frank Rowand , Ard Biesheuvel , Mike Rapoport , Linus Walleij , Andrew Morton , Geert Uytterhoeven , Arnd Bergmann , Guenter Roeck , Kefeng Wang , Mark Rutland , Andrey Konovalov , Anshuman Khandual , Valentin Schneider , Ingo Molnar , Peter Zijlstra , 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 v2 06/12] genirq: Export irq_gc_{unmask_enable, mask_disable}_reg Date: Mon, 27 Sep 2021 19:27:09 -0700 Message-Id: <20210928022715.369160-7-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210928022715.369160-1-f.fainelli@gmail.com> References: <20210928022715.369160-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-20210927_192854_850429_5868DFAB X-CRM114-Status: GOOD ( 14.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- kernel/irq/generic-chip.c | 2 ++ 1 file changed, 2 insertions(+) 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