The patch titled
     CRIS: local_irq_disable() is redundant after local_irq_save()
has been removed from the -mm tree.  Its filename was
     cris-local_irq_disable-is-redundant-after-local_irq_save.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: CRIS: local_irq_disable() is redundant after local_irq_save()
From: Jiri Kosina <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
Cc: Mikael Starvik <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 arch/cris/arch-v10/kernel/time.c |    1 -
 arch/cris/kernel/time.c          |    1 -
 2 files changed, 2 deletions(-)

diff -puN 
arch/cris/arch-v10/kernel/time.c~cris-local_irq_disable-is-redundant-after-local_irq_save
 arch/cris/arch-v10/kernel/time.c
--- 
a/arch/cris/arch-v10/kernel/time.c~cris-local_irq_disable-is-redundant-after-local_irq_save
+++ a/arch/cris/arch-v10/kernel/time.c
@@ -38,7 +38,6 @@ unsigned long get_ns_in_jiffie(void)
        unsigned long flags;
 
        local_irq_save(flags);
-       local_irq_disable();
        timer_count = *R_TIMER0_DATA;
        presc_count = *R_TIM_PRESC_STATUS;  
        /* presc_count might be wrapped */
diff -puN 
arch/cris/kernel/time.c~cris-local_irq_disable-is-redundant-after-local_irq_save
 arch/cris/kernel/time.c
--- 
a/arch/cris/kernel/time.c~cris-local_irq_disable-is-redundant-after-local_irq_save
+++ a/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();
 
         /*
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

origin.patch
git-alsa.patch
git-hid.patch
git-ipwireless_cs.patch
ds1302-local_irq_disable-is-redundant-after-local_irq_save.patch
sysctl-mac_hid-remove-unnecessary-insert_at_head-flag.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to