]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/powernv: Fix little endian issues with opal_do_notifier calls
authorAnton Blanchard <anton@samba.org>
Tue, 22 Apr 2014 05:01:24 +0000 (15:01 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Apr 2014 03:11:22 +0000 (13:11 +1000)
commit56b4c993124d15f3b198cc757ba49a0022b5d695
tree899377b5b63e30933c50f4d21068e41c0f737f4f
parente2c8b93e65935498d9bd419cec900221ace70c5b
powerpc/powernv: Fix little endian issues with opal_do_notifier calls

The bitmap in opal_poll_events and opal_handle_interrupt is
big endian, so we need to byteswap it on little endian builds.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/opal.c