git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
include
/
linux
/
spinlock_types_up.h
diff --git
a/include/linux/spinlock_types_up.h
b/include/linux/spinlock_types_up.h
index
27644af
..
04135b0
100644
(file)
--- a/
include/linux/spinlock_types_up.h
+++ b/
include/linux/spinlock_types_up.h
@@
-12,14
+12,10
@@
* Released under the General Public License (GPL).
*/
* Released under the General Public License (GPL).
*/
-#if defined(CONFIG_DEBUG_SPINLOCK) || \
- defined(CONFIG_DEBUG_LOCK_ALLOC)
+#ifdef CONFIG_DEBUG_SPINLOCK
typedef struct {
volatile unsigned int slock;
typedef struct {
volatile unsigned int slock;
-#ifdef CONFIG_DEBUG_LOCK_ALLOC
- struct lockdep_map dep_map;
-#endif
} raw_spinlock_t;
#define __RAW_SPIN_LOCK_UNLOCKED { 1 }
} raw_spinlock_t;
#define __RAW_SPIN_LOCK_UNLOCKED { 1 }
@@
-34,9
+30,6
@@
typedef struct { } raw_spinlock_t;
typedef struct {
/* no debug version on UP */
typedef struct {
/* no debug version on UP */
-#ifdef CONFIG_DEBUG_LOCK_ALLOC
- struct lockdep_map dep_map;
-#endif
} raw_rwlock_t;
#define __RAW_RW_LOCK_UNLOCKED { }
} raw_rwlock_t;
#define __RAW_RW_LOCK_UNLOCKED { }