]> git.baikalelectronics.ru Git - kernel.git/commit
OF: convert devtree lock from rw_lock to raw spinlock
authorThomas Gleixner <tglx@linutronix.de>
Wed, 6 Feb 2013 20:30:56 +0000 (15:30 -0500)
committerRob Herring <rob.herring@calxeda.com>
Fri, 8 Feb 2013 23:02:40 +0000 (17:02 -0600)
commit7e545c7fc864edc74411a8762972919c5d32f946
tree9d5602c46a048aa23be0f5f3fffcf126ace3f651
parent390c47432a484a299db09c5bb903c1f90dd76a9c
OF: convert devtree lock from rw_lock to raw spinlock

With the locking cleanup in place (from "OF: Fixup resursive
locking code paths"), we can now do the conversion from the
rw_lock to a raw spinlock as required for preempt-rt.

The previous cleanup and this conversion were originally
separate since they predated when mainline got raw spinlock (in
commit fa2506ddea6dc18 "locking: Implement new raw_spinlock").

So, at that point in time, the cleanup was considered plausible
for mainline, but not this conversion.  In any case, we've kept
them separate as it makes for easier review and better bisection.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[PG: taken from preempt-rt, update subject & add a commit log]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/sparc/kernel/prom_common.c
drivers/of/base.c
include/linux/of.h