From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 24 Feb 2019 15:11:34 -0000 Received: from mga01.intel.com ([192.55.52.88]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gxvNt-0001Rs-Cc for speck@linutronix.de; Sun, 24 Feb 2019 16:08:06 +0100 From: Andi Kleen Subject: [MODERATED] [PATCH v6 35/43] MDSv6 Date: Sun, 24 Feb 2019 07:07:41 -0800 Message-Id: In-Reply-To: References: In-Reply-To: References: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 To: speck@linutronix.de Cc: Andi Kleen List-ID: Old style IDE drivers sometimes do PIO, and are really slow anyways, so default them all the clear the CPU. Signed-off-by: Andi Kleen --- drivers/ide/ide-probe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 5aeaca24a28f..17e9f447472c 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -881,7 +881,8 @@ static int init_irq (ide_hwif_t *hwif) irq_handler = ide_intr; if (!host->get_lock) - if (request_irq(hwif->irq, irq_handler, sa, hwif->name, hwif)) + if (request_irq(hwif->irq, irq_handler, sa | IRQF_USER_DATA, + hwif->name, hwif)) goto out_up; #if !defined(__mc68000__) -- 2.17.2