[PATCH -rt] drop one spin_lock_irqsave()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This gave me some really odd compile errors.. Theres
a static inline for this function right above this define
so I just dropped the define.


Signed-Off-By: Daniel Walker <[email protected]>

---
 include/linux/spinlock.h |    1 -
 1 files changed, 1 deletion(-)

Index: linux-2.6.19/include/linux/spinlock.h
===================================================================
--- linux-2.6.19.orig/include/linux/spinlock.h
+++ linux-2.6.19/include/linux/spinlock.h
@@ -202,7 +202,6 @@ static inline unsigned long __lockfunc _
 # define _spin_lock_irq(l)		do { } while (0)
 # define _spin_lock(l)			do { } while (0)
 # define _spin_lock_bh(l)		do { } while (0)
-# define _spin_lock_irqsave(l)		do { } while (0)
 # define _spin_lock_irqsave_nested(l, s) \
 					do { } while (0)
 # define _spin_unlock(l)		do { } while (0)
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux