From mboxrd@z Thu Jan 1 00:00:00 1970 From: lho@apm.com (Loc Ho) Date: Fri, 6 Nov 2015 17:51:59 -0700 Subject: [PATCH v3 2/2] acpi: apei: Enable APEI multiple GHES source to share an single external IRQ In-Reply-To: <1446857519-5908-1-git-send-email-lho@apm.com> References: <1446857519-5908-1-git-send-email-lho@apm.com> Message-ID: <1446857519-5908-3-git-send-email-lho@apm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org This patch allows APEI generic error source table with external IRQ to share an single IRQ. Signed-off-by: Tuan Phan Signed-off-by: Loc Ho --- drivers/acpi/apei/ghes.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c index 3dd9c46..edc8a39 100644 --- a/drivers/acpi/apei/ghes.c +++ b/drivers/acpi/apei/ghes.c @@ -1011,7 +1011,7 @@ static int ghes_probe(struct platform_device *ghes_dev) generic->header.source_id); goto err_edac_unreg; } - rc = request_irq(ghes->irq, ghes_irq_func, 0, "GHES IRQ", ghes); + rc = request_irq(ghes->irq, ghes_irq_func, IRQF_SHARED, "GHES IRQ", ghes); if (rc) { pr_err(GHES_PFX "Failed to register IRQ for generic hardware error source: %d\n", generic->header.source_id); -- 1.7.1