diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2013-02-13 04:59:13 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2013-02-13 04:59:13 -0500 |
commit | bfc4a58986ba3934bb256ef3567aeeab262aa959 (patch) | |
tree | bd26e4a6a10e19b510cec9674448bdb18633630a /arch | |
parent | 09495dda6a62c74b13412a63528093910ef80edd (diff) | |
parent | 1421954bf9b967d819db23c911f950a2ccd60eff (diff) |
Merge branch 'for-next' from git://sources.calxeda.com/kernel/linux.git
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/kernel/prom_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/prom_common.c b/arch/sparc/kernel/prom_common.c index 1303021748c8..9f20566b0773 100644 --- a/arch/sparc/kernel/prom_common.c +++ b/arch/sparc/kernel/prom_common.c | |||
@@ -64,7 +64,7 @@ int of_set_property(struct device_node *dp, const char *name, void *val, int len | |||
64 | err = -ENODEV; | 64 | err = -ENODEV; |
65 | 65 | ||
66 | mutex_lock(&of_set_property_mutex); | 66 | mutex_lock(&of_set_property_mutex); |
67 | write_lock(&devtree_lock); | 67 | raw_spin_lock(&devtree_lock); |
68 | prevp = &dp->properties; | 68 | prevp = &dp->properties; |
69 | while (*prevp) { | 69 | while (*prevp) { |
70 | struct property *prop = *prevp; | 70 | struct property *prop = *prevp; |
@@ -91,7 +91,7 @@ int of_set_property(struct device_node *dp, const char *name, void *val, int len | |||
91 | } | 91 | } |
92 | prevp = &(*prevp)->next; | 92 | prevp = &(*prevp)->next; |
93 | } | 93 | } |
94 | write_unlock(&devtree_lock); | 94 | raw_spin_unlock(&devtree_lock); |
95 | mutex_unlock(&of_set_property_mutex); | 95 | mutex_unlock(&of_set_property_mutex); |
96 | 96 | ||
97 | /* XXX Upate procfs if necessary... */ | 97 | /* XXX Upate procfs if necessary... */ |