Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752052Ab2BAFUF (ORCPT ); Wed, 1 Feb 2012 00:20:05 -0500 Received: from mail-iy0-f174.google.com ([209.85.210.174]:36491 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751184Ab2BAFUE (ORCPT ); Wed, 1 Feb 2012 00:20:04 -0500 From: Geunsik Lim To: Thomas Gleixner Cc: linux-kernel Subject: [PATCH] Fix logical and operator at interrupt handler thread Date: Wed, 1 Feb 2012 14:19:54 +0900 Message-Id: <1328073594-16673-1-git-send-email-geunsik.lim@gmail.com> X-Mailer: git-send-email 1.7.8.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 31 From: Geunsik Lim '&' is a bitwise operation. (e.g: a & b ) Use '&&' and-operator instead of '&' bitwise operator. Signed-off-by: Geunsik Lim --- kernel/irq/manage.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index a9a9dbe..c0730ad 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -773,7 +773,7 @@ static int irq_thread(void *data) struct irqaction *action); int wake; - if (force_irqthreads & test_bit(IRQTF_FORCED_THREAD, + if (force_irqthreads && test_bit(IRQTF_FORCED_THREAD, &action->thread_flags)) handler_fn = irq_forced_thread_fn; else -- 1.7.8.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/