OpenCloudOS-Kernel/arch/sparc
David S. Miller 2481d76615 sparc: Add mutex for set property calls.
On some platforms, the I2C controller is shared between the OS and
OBP.  OBP uses this I2C controller to access the EEPROM, and thus is
programmed when the kernel calls prom_setprop().

Wrap such calls with the new of_set_property_mutex.

Relevant I2C bus drivers can grab this mutex around top-level I2C
operations to provide the proper protection.

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-24 20:33:55 -07:00
..
boot sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
include/asm sparc: Add mutex for set property calls. 2008-08-24 20:33:55 -07:00
kernel sparc: Add mutex for set property calls. 2008-08-24 20:33:55 -07:00
lib sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
math-emu sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
mm mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
prom sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
Kconfig sparc: Set CONFIG_HAVE_ARCH_TRACEHOOK 2008-07-27 17:34:02 -07:00
Kconfig.debug [SPARC32]: Add irqflags.h to sparc32 and use it from generic code. 2007-10-13 21:53:11 -07:00
Makefile sparc32: pass -m32 when building vmlinux.lds 2008-07-22 15:47:17 -07:00
defconfig sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00