summaryrefslogtreecommitdiffstats
path: root/drivers/bcma/driver_chipcommon_pmu.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2013-08-07 02:01:51 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-14 15:33:40 +1000
commit54bb7f4bda0ee49f39dc593c2d73fe6053a99dbb (patch)
tree80a86974e8e89de50ec9eaacf3366a2f44c82986 /drivers/bcma/driver_chipcommon_pmu.c
parent8bd0b119ae64bf448e5f45d208007950e0ac2754 (diff)
downloadtalos-op-linux-54bb7f4bda0ee49f39dc593c2d73fe6053a99dbb.tar.gz
talos-op-linux-54bb7f4bda0ee49f39dc593c2d73fe6053a99dbb.zip
powerpc: Make rwlocks endian safe
Our ppc64 spinlocks and rwlocks use a trick where a lock token and the paca index are placed in the lock with a single store. Since we are using two u16s they need adjusting for little endian. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/bcma/driver_chipcommon_pmu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud