[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0702011615300.13648@jikos.suse.cz>
Date: Thu, 1 Feb 2007 16:35:56 +0100 (CET)
From: Jiri Kosina <jkosina@...e.cz>
To: Andrew Morton <akpm@...l.org>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 2/10] X86_64: local_irq_disable() is redundant after
local_irq_save()
From: Jiri Kosina <jkosina@...e.cz>
X86_64: local_irq_disable() is redundant after local_irq_save()
arch/x86_64/kernel/time.c::hpet_calibrate_tsc() contains
local_irq_disable() call after local_irq_save(). This looks
redundant.
Signed-off-by: Jiri Kosina <jkosina@...e.cz>
---
arch/x86_64/kernel/time.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c
index 5cc76d0..1a8afdc 100644
--- a/arch/x86_64/kernel/time.c
+++ b/arch/x86_64/kernel/time.c
@@ -683,7 +683,6 @@ static unsigned int __init hpet_calibrate_tsc(void)
unsigned long flags;
local_irq_save(flags);
- local_irq_disable();
read_hpet_tsc(&hpet_start, &tsc_start);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists