Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1452902iol; Fri, 10 Jun 2022 07:50:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrb72R/IL73OlDqSI+YXFqqN+Y9lP3JrjYzQy/gyjJgexRyDfptrH44vSLjbgZNz5M74XB X-Received: by 2002:a17:902:6bc1:b0:15d:1e15:1a75 with SMTP id m1-20020a1709026bc100b0015d1e151a75mr46860821plt.114.1654872638963; Fri, 10 Jun 2022 07:50:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654872638; cv=none; d=google.com; s=arc-20160816; b=zxHKkoVZ2SVB4G+WLcT7UAxMXInJiJ7VbQn5Zy+WCVLzmeTBIf8f3zcTdInlJ1k26A QG/1svudnp9MDDaJAZqWDgxEmx9Om6lOMzjPfiMdaayL9+OIWhVu4qq/b758kFvwAZW3 jWeKnbRMjesFf3wcrHUXqwiiWh5dyLVyP78iVB86ihYHHabkA+DEWseBw3UfAO1xFGoX MC7aSCu0dXqwv/geScYB76NX/NEy01gWLPCHvy8fe9DCi7zVYJJdv5Sl9rJ3m7PevAJM uYzQU1JpIyBX9xDcrD+6bjBxKTvhagF+nK+REPo3i1q/x13dZDq+sxf6iOSa41GB8JNm 0V5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=Y6ECJedJvloi1HGFoYaKDExh4EWkviU5WWXywQvPon0=; b=ljBX3O+lbwZM4sVH2VFXDx3+31e/oCwv1ES10+MbHD0l8mR72SWM7IzE3xLnzQVKlb 7Lno6xqCAC+RP5fMgg4q8bx3gsBZTPRn4BBI14ZtvbAgnAumR+f5ftwYxetUKIQX44op blkX7VpQJWvE6MMEbIYyIiNhO+DVjbho9VjWKzwduiwVvUuspHxNqoWUHBaJ/+XVayQQ SYl9KIk1VPV33iHHkhiEmmvZgQWSuRDKtVI/UHVQ3+JJO8pt107HbHL/WTUF1Ug3Gzkb AZSZscDPRnQqoLSYxigOUSam2conRK8mQ1eebC8Ags36ZUBr96I3si13vcB3g21HxE+e dttA== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mi13-20020a17090b4b4d00b001e2f31e3b38si3849747pjb.34.2022.06.10.07.50.23; Fri, 10 Jun 2022 07:50:38 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348795AbiFJNeP (ORCPT + 99 others); Fri, 10 Jun 2022 09:34:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238032AbiFJNeH (ORCPT ); Fri, 10 Jun 2022 09:34:07 -0400 Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA734EA8; Fri, 10 Jun 2022 06:34:06 -0700 (PDT) Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-3135519f95fso102232567b3.6; Fri, 10 Jun 2022 06:34:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y6ECJedJvloi1HGFoYaKDExh4EWkviU5WWXywQvPon0=; b=rVnhOkkNHhTiGMth6YdiEQslWpXvfqLYdKkNcwd0DLL0xN47tPz/3nBQY/VPan7VQJ SnEBfULrhyP4wqIPA+ygNaNbKGTieWnASauV0hxYQRUqojDC+fYgxLI1Un6dCZ1PnNPj S/RiPfMgYy9oTwmlw3XDAVsQ+OwmJpixaOCQfcSekPQE/DkyIiirES0c6zteuo3fyA/v aM3vyCpLEQyLd0h1mLcRGnzwZxj8kldj9q5gejoTU7gdj9BfHLUnQyA4f+26qYLAAOhj MjyxpHjpWHaHUClbZg4caBt5I9g5sR3pHSS1Uj1dQtLwk8yr7lMiErTAabZLChp3di7N vFbg== X-Gm-Message-State: AOAM531i/yprsbv44SKj1Zxj2Tw8KR6m616ujrA30R7zagFJ1xFrKmMp 6sWCSV/I+gsmE9bHpMrf62Ccq4d/TWv8DIPgkFwVYQDK X-Received: by 2002:a81:260a:0:b0:2f4:ca82:a42f with SMTP id m10-20020a81260a000000b002f4ca82a42fmr48674377ywm.149.1654868045603; Fri, 10 Jun 2022 06:34:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Rafael J. Wysocki" Date: Fri, 10 Jun 2022 15:33:54 +0200 Message-ID: Subject: Re: [PATCH] genirq/PM: Unexport {suspend,resume}_device_irqs() To: Lukas Wunner Cc: Thomas Gleixner , "Rafael J. Wysocki" , Linux Kernel Mailing List , Linux PM Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 On Fri, Jun 10, 2022 at 9:41 AM Lukas Wunner wrote: > > 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 Reviewed-by: Rafael J. Wysocki or I can take it if no one else does. > --- > 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 >