mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -rt] drop one spin_lock_irqsave()
@ 2006-12-04 22:19 Daniel Walker
  0 siblings, 0 replies; only message in thread
From: Daniel Walker @ 2006-12-04 22:19 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel

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 <dwalker@mvista.com>

---
 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)
--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-04 22:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-04 22:19 [PATCH -rt] drop one spin_lock_irqsave() Daniel Walker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®