diff options
author | Jiri Kosina <jkosina@suse.cz> | 2007-02-10 01:43:49 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 10:51:20 -0800 |
commit | 7c101b7b13707f84791441fd04f11cf710d0d2d9 (patch) | |
tree | 2895be6cebf1c41a2c6a582b85d54ab4a9f22ae0 /arch/cris/kernel | |
parent | 36dbf95868007b2dd236836f5420d3cb788da029 (diff) | |
download | linux-stable-7c101b7b13707f84791441fd04f11cf710d0d2d9.tar.gz linux-stable-7c101b7b13707f84791441fd04f11cf710d0d2d9.tar.bz2 linux-stable-7c101b7b13707f84791441fd04f11cf710d0d2d9.zip |
[PATCH] CRIS: local_irq_disable() is redundant after local_irq_save()
arch/cris/arch-v10/kernel/time.c::get_ns_in_jiffie() contains
local_irq_disable() call after local_irq_save(). This looks redundant.
arch/cris/kernel/time.c::do_gettimeofday() contains local_irq_disable() call
after local_irq_save(). This looks redundant.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Cc: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/cris/kernel')
-rw-r--r-- | arch/cris/kernel/time.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/cris/kernel/time.c b/arch/cris/kernel/time.c index 0f9213cbd48e..22a1aa511aea 100644 --- a/arch/cris/kernel/time.c +++ b/arch/cris/kernel/time.c @@ -55,7 +55,6 @@ void do_gettimeofday(struct timeval *tv) unsigned long flags; signed long usec, sec; local_irq_save(flags); - local_irq_disable(); usec = do_gettimeoffset(); /* |