summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-21 14:35:34 +0100
committerClark Williams <williams@redhat.com>2012-02-15 10:32:33 -0600
commit60ddddefae477bfd701fef124021b9a82d7bba77 (patch)
tree20e97ed9737d33961028d538080dd4bc26cf04bf /include/linux
parentfcc88c35ef268b86b6fbfa6e0d7534c004ea7665 (diff)
of-convert-devtree-lock.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/of.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/of.h b/include/linux/of.h
index 4948552d60f5..e87303dfbbfc 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -71,7 +71,7 @@ struct device_node {
extern struct device_node *allnodes;
extern struct device_node *of_chosen;
extern struct device_node *of_aliases;
-extern rwlock_t devtree_lock;
+extern raw_spinlock_t devtree_lock;
static inline bool of_have_populated_dt(void)
{