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: NCatalin Marinas <catalin.marinas@arm.com> Reported-by: NMatthew Leach <matthew.leach@arm.com> Acked-by: NWill Deacon <will.deacon@arm.com>
Showing
想要评论请 注册 或 登录