From patchwork Thu Jun 25 00:10:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 191718 Delivered-To: patches@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp318387ilg; Wed, 24 Jun 2020 17:10:46 -0700 (PDT) X-Received: by 2002:a17:90b:2308:: with SMTP id mt8mr320045pjb.211.1593043846657; Wed, 24 Jun 2020 17:10:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593043846; cv=none; d=google.com; s=arc-20160816; b=SB5N+ZY9ej5JetjVfgPB/4x39T8gKPd/10JoOf+9Qw3H5mqK3dudIJyst6LCdDB4zF D9iJO2J6hJHNfFUIeU5MZR4uG/TS/9yfF2TPbEvgY7fsPTt0G2D/Eb+B5R0cLuxC0EJh +tEr2mnltYH2glU+9cG8mnCVUAwKAfcGELAuHItG0evzt+QK2cOeiHs3XDrfHZbfuRQN rlK9LNKTCozgooW06r0Po0P35XfPsIccf+VsWgY/2VQ9CxfP7sV6dXwKXK90O8WvzT+K p0K1uSZbHDbh1kKGDb6RnvqMBunO1KnsWxZ24Vgw4mZ2IksWCgJi1BdYZwayNEeAARCK effw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+LAKpRiBafd2oOjp/6TfYpZhYF0M8uCnrw227kRHd7U=; b=BnoKLz6jLm2dU+ogyTyzOgZd9CvlyJ0Fu4VCjpJ+Hgs/OJmrOwyA9FjnIpmn66i2Oj DAiIEf68VMhtJkny/1I+5NlyHDvdv9m0HO3ZsMmoKTG2vYJHoZwAldVeALWgaTwVnNz0 bV056/DW9GM+0hjyeI6yS6uMgKKehIbk8By1lVl6ILeYbnRYRI6LaGBgQ0R/RLJjlq51 4UTQvkH3vxuWcqiWXwjz4sQ7QK8nU3GBgUZgxyRi/UZBp1XFwU1IuhBkFzNwoqtBBi+p LPPwWOBjMu1CPxyNjdWYstyqekZLV+53C0bp4zhVCIuhBE6CaUSFKJH2el1zQFLszTPL GCPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HAlI1u32; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id t8sor29212433plq.59.2020.06.24.17.10.46 for (Google Transport Security); Wed, 24 Jun 2020 17:10:46 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HAlI1u32; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+LAKpRiBafd2oOjp/6TfYpZhYF0M8uCnrw227kRHd7U=; b=HAlI1u32UitdJLPZdVwEahciwS3ZTB6W+Ys4ec6296HJhVkA4/UXBs25d9AQ+OnJp5 FP+ahCS3vHw/A1Zixz+Z8l54n8cr+EbLkrbQdselXivq7UG6o3/nTNH9TfuKRZVvEDsJ ofl9wVPBBA6nbueD3tW+G8ob3X7lEsPQ1H6Q+ve46dM/XR0/tfXKtcaezay7Xz9G0n7v URLpDKtNy6XhKPddMkq2OxknBGWDnel78c7gqfwSTY2o1Gzvi5Owk8HJbpT+y3fBPXvR +mgKFgPxG1Ptvh4tLpk/H9kouGfX+/EM2oVuzATRTKR9rYV6C1scXP36jU2P1tL7OnpJ vkTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+LAKpRiBafd2oOjp/6TfYpZhYF0M8uCnrw227kRHd7U=; b=GG+sUgQsXMI6ZPyjbXaGEmBFrhxT8qzNgGYgVPEiRhv3LWE5Al8+p0cssWeMzzbtrZ /SH8yNxvJEg8jNIC1OEQcJBQhrBgRD808vCQwozYyzp32u8p+9ToiwBOI4iypbEMPeQM 69HlWsKgwk+VyBIsMXUIYCieyNqA6qo063TlbZDeU0KmZS1FzZzKBt5lmNzqvT7knLDp EyGWP2eRYJM62NsqPXxUtcJGwKcM/vSyZTFCdVQNIjwgTi6lG3GmLS4uvXfNf9CK6x1s /nwRsN8J4o1jBwYpAqY/kuv9CHBvx+8A8oLxDjFUtBVgwj7mjBEZMAGLnpSskXF57k4j lx3Q== X-Gm-Message-State: AOAM530ZP907tOkz8oN+IE0tXcaM2kkm2qDofYZa5BSX8KRWK4Kne42u QJPBvsV0LYbDcx1iC6NdXSBA1+uN X-Google-Smtp-Source: ABdhPJwidESwyZghUA8phlmnKseTB1UOw0TCgrn0ehnZTRkv2moQtUQaHy71nTZcExOkP0oXzBdcaQ== X-Received: by 2002:a17:902:9303:: with SMTP id bc3mr3763473plb.56.1593043846320; Wed, 24 Jun 2020 17:10:46 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id n19sm17458671pgb.0.2020.06.24.17.10.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 17:10:45 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Andy Gross , Bjorn Andersson , Joerg Roedel , Thomas Gleixner , Jason Cooper , Marc Zyngier , Linus Walleij , Maulik Shah , Lina Iyer , Saravana Kannan , Todd Kjos , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, iommu@lists.linux-foundation.org, linux-gpio@vger.kernel.org Subject: [PATCH v2 2/5] irq: irqchip: Export irq_chip_retrigger_hierarchy and irq_chip_set_vcpu_affinity_parent Date: Thu, 25 Jun 2020 00:10:36 +0000 Message-Id: <20200625001039.56174-3-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200625001039.56174-1-john.stultz@linaro.org> References: <20200625001039.56174-1-john.stultz@linaro.org> Add EXPORT_SYMBOL_GPL entries for irq_chip_retrigger_hierarchy() and irq_chip_set_vcpu_affinity_parent() so that we can allow drivers like the qcom-pdc driver to be loadable as a module. Cc: Andy Gross Cc: Bjorn Andersson Cc: Joerg Roedel Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: Linus Walleij Cc: Maulik Shah Cc: Lina Iyer Cc: Saravana Kannan Cc: Todd Kjos Cc: Greg Kroah-Hartman Cc: linux-arm-msm@vger.kernel.org Cc: iommu@lists.linux-foundation.org Cc: linux-gpio@vger.kernel.org Signed-off-by: John Stultz --- kernel/irq/chip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 41e7e37a0928..ba6ce66d7ed6 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -1478,6 +1478,7 @@ int irq_chip_retrigger_hierarchy(struct irq_data *data) return 0; } +EXPORT_SYMBOL_GPL(irq_chip_retrigger_hierarchy); /** * irq_chip_set_vcpu_affinity_parent - Set vcpu affinity on the parent interrupt @@ -1492,7 +1493,7 @@ int irq_chip_set_vcpu_affinity_parent(struct irq_data *data, void *vcpu_info) return -ENOSYS; } - +EXPORT_SYMBOL_GPL(irq_chip_set_vcpu_affinity_parent); /** * irq_chip_set_wake_parent - Set/reset wake-up on the parent interrupt * @data: Pointer to interrupt specific data