diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-20 06:56:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-25 05:33:55 +0200 |
commit | 2481d76615d5e15340ccfb0243fe8779766dfc6e (patch) | |
tree | 2d047756426224d741388b4c557151f9a7cb8335 /arch/sparc64/kernel/of_device.c | |
parent | sparc64: Add JBUS NUMA detection. (diff) | |
download | linux-2481d76615d5e15340ccfb0243fe8779766dfc6e.tar.xz linux-2481d76615d5e15340ccfb0243fe8779766dfc6e.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions