From: Will Deacon Date: Tue, 19 Jun 2018 12:53:14 +0000 (+0100) Subject: locking/atomics/arm64, arm64/bitops: Include X-Git-Tag: v4.19~479^2~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=356c6fe7d80c678cf77aede0f95291dfd5ed2ef2;p=platform%2Fkernel%2Flinux-rpi.git locking/atomics/arm64, arm64/bitops: Include provides the ext2 atomic bitop definitions, so we don't need to define our own. Signed-off-by: Will Deacon Acked-by: Peter Zijlstra (Intel) Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-arm-kernel@lists.infradead.org Cc: yamada.masahiro@socionext.com Link: https://lore.kernel.org/lkml/1529412794-17720-10-git-send-email-will.deacon@arm.com Signed-off-by: Ingo Molnar --- diff --git a/arch/arm64/include/asm/bitops.h b/arch/arm64/include/asm/bitops.h index 1350146..10d536b 100644 --- a/arch/arm64/include/asm/bitops.h +++ b/arch/arm64/include/asm/bitops.h @@ -38,11 +38,6 @@ #include #include #include - -/* - * Ext2 is defined to use little-endian byte ordering. - */ -#define ext2_set_bit_atomic(lock, nr, p) test_and_set_bit_le(nr, p) -#define ext2_clear_bit_atomic(lock, nr, p) test_and_clear_bit_le(nr, p) +#include #endif /* __ASM_BITOPS_H */