]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Fix the endianness of arch_spinlock_t
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 25 Oct 2013 14:48:33 +0000 (15:48 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 25 Oct 2013 15:10:22 +0000 (16:10 +0100)
commit42318113d9d085c9e73099f44d6a8fd6e16f4b57
tree5e83a91e0358efb93ef29db454487ba7f5b347e5
parent4d1e4534ba6405da9ab5e7b3832004084fc39b21
arm64: Fix the endianness of arch_spinlock_t

The owner and next members of the arch_spinlock_t structure need to be
swapped when compiling for big endian.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Matthew Leach <matthew.leach@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/spinlock_types.h