Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1167493iol; Fri, 10 Jun 2022 01:32:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1HswreU6hqTMOuCj2Alh+7EVeugl7Eklt8GPs10LNmh8P4FQSdRC1Tqa07ZuagAVV3wkk X-Received: by 2002:a17:907:364:b0:709:614e:acc0 with SMTP id rs4-20020a170907036400b00709614eacc0mr38939251ejb.692.1654849924264; Fri, 10 Jun 2022 01:32:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654849924; cv=none; d=google.com; s=arc-20160816; b=ngdoyOS8cXIeTdZe5/IoHbl6L0j4G5xzXP22qhwZxRn7OX1lnMXuNtHu+bGB7o+BUl 9UeqNjUdn3TQgBYAss1d4HQLy7nIG8ISSe3AST22ecuupiS1h499ZTtMYEdiKmrv9g0g GstPFqw54N+ly6rXRKqzovJgLiO3IFu8W2kX/wG5f45YgYycHvwInJKsb4l8ZsG5g+5F 89miUKLciMPQ2aC4zO0WAzXtgBJ/jyJfB3B28eS7y4KNlkDQimJUumQJDAryHCr80KdN qHm1w26VvrFD3+cKfEAiKi5r9zVGUc4y7tziwebDT52gRGdZdXQpyXDgP9kgYrByNvyM BBZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:date:from:message-id; bh=+A7QpPwUMo4cj1gyR/LmQ8UGsPwxr75QHZgeZu8qg2w=; b=rYdst7GJg1C+SVoPOulNirHBqXA5NPChe6DNpeyEmf/6vkbdOy2K7vwrjFY0z4/4cy XuyTeTzW+jyURWZ/IMR1KAQtT+cB4shdmL/msCzWXBSHyi1frgGipOeZ8JrZkkW34oRZ gvwP+++tVRTn6entayflQtincBYSIhOUEyWMKxSiSux4MM2xDRkaB/oLFt+SekhucF4A YKusE+639km042oFftkxgGHoZJ1peSQRmxPYBkUan8amOwrVKyZbQ0Bi9tJ6X3adnnDa ubb5S/Fq+T8axLmd5GFk7l2YoY59lsB/A+RCgI1wGUkV7aT5ZDxHEsIe8mouyK14JYL0 1PHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb6-20020a1709071c8600b0070e06c11ecbsi1811776ejc.417.2022.06.10.01.31.37; Fri, 10 Jun 2022 01:32:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346884AbiFJHk6 (ORCPT + 99 others); Fri, 10 Jun 2022 03:40:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234773AbiFJHky (ORCPT ); Fri, 10 Jun 2022 03:40:54 -0400 Received: from mailout2.hostsharing.net (mailout2.hostsharing.net [IPv6:2a01:37:3000::53df:4ee9:0]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D3CD139AD8; Fri, 10 Jun 2022 00:40:52 -0700 (PDT) Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1" (verified OK)) by mailout2.hostsharing.net (Postfix) with ESMTPS id 1CF0E103B3F34; Fri, 10 Jun 2022 09:40:50 +0200 (CEST) Received: from localhost (unknown [89.246.108.87]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by h08.hostsharing.net (Postfix) with ESMTPSA id EC1E86064270; Fri, 10 Jun 2022 09:40:49 +0200 (CEST) X-Mailbox-Line: From fad9b50609f9d9828ea14772dbd4d195713f1c4b Mon Sep 17 00:00:00 2001 Message-Id: From: Lukas Wunner Date: Fri, 10 Jun 2022 09:40:50 +0200 Subject: [PATCH] genirq/PM: Unexport {suspend,resume}_device_irqs() To: Thomas Gleixner , "Rafael J. Wysocki" Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ever since {suspend,resume}_device_irqs() were introduced in 2009 by commit 0a0c5168df27 ("PM: Introduce functions for suspending and resuming device interrupts"), they've been exported even though there are no module users and never will be: The functions are solely called by the PM core, which is always built-in. Unexport them. Signed-off-by: Lukas Wunner --- kernel/irq/pm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/irq/pm.c b/kernel/irq/pm.c index ca71123a6130..c556bc49d213 100644 --- a/kernel/irq/pm.c +++ b/kernel/irq/pm.c @@ -147,7 +147,6 @@ void suspend_device_irqs(void) synchronize_irq(irq); } } -EXPORT_SYMBOL_GPL(suspend_device_irqs); static void resume_irq(struct irq_desc *desc) { @@ -259,4 +258,3 @@ void resume_device_irqs(void) { resume_irqs(false); } -EXPORT_SYMBOL_GPL(resume_device_irqs); -- 2.35.2