projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] ext4 uninline ext4_get_group_no_and_offset()
[powerpc.git]
/
include
/
linux
/
lockdep.h
diff --git
a/include/linux/lockdep.h
b/include/linux/lockdep.h
index
80ec7a4
..
1314ca0
100644
(file)
--- a/
include/linux/lockdep.h
+++ b/
include/linux/lockdep.h
@@
-8,13
+8,13
@@
#ifndef __LINUX_LOCKDEP_H
#define __LINUX_LOCKDEP_H
#ifndef __LINUX_LOCKDEP_H
#define __LINUX_LOCKDEP_H
+#ifdef CONFIG_LOCKDEP
+
#include <linux/linkage.h>
#include <linux/list.h>
#include <linux/debug_locks.h>
#include <linux/stacktrace.h>
#include <linux/linkage.h>
#include <linux/list.h>
#include <linux/debug_locks.h>
#include <linux/stacktrace.h>
-#ifdef CONFIG_LOCKDEP
-
/*
* Lock-class usage-state bits:
*/
/*
* Lock-class usage-state bits:
*/
@@
-120,7
+120,7
@@
struct lock_class {
*/
struct lockdep_map {
struct lock_class_key *key;
*/
struct lockdep_map {
struct lock_class_key *key;
- struct lock_class *class
[MAX_LOCKDEP_SUBCLASSES]
;
+ struct lock_class *class
_cache
;
const char *name;
};
const char *name;
};
@@
-270,6
+270,12
@@
static inline int lockdep_internal(void)
struct lock_class_key { };
#endif /* !LOCKDEP */
struct lock_class_key { };
#endif /* !LOCKDEP */
+#if defined(CONFIG_TRACE_IRQFLAGS) && defined(CONFIG_GENERIC_HARDIRQS)
+extern void early_init_irq_lock_class(void);
+#else
+# define early_init_irq_lock_class() do { } while (0)
+#endif
+
#ifdef CONFIG_TRACE_IRQFLAGS
extern void early_boot_irqs_off(void);
extern void early_boot_irqs_on(void);
#ifdef CONFIG_TRACE_IRQFLAGS
extern void early_boot_irqs_off(void);
extern void early_boot_irqs_on(void);