]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: cachetype: fix definitions of ICACHEF_* flags
authorWill Deacon <will.deacon@arm.com>
Tue, 27 Oct 2015 12:05:55 +0000 (12:05 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 28 Oct 2015 18:32:12 +0000 (18:32 +0000)
commit36f53b80dab466a5ec3d27ac7749b81b23d6a3b2
treeb5654cbefa10c97754c4da11b30bcbeb50de1a64
parent0462c3f46ea900f6bbfe8264818ae77e9c477c72
arm64: cachetype: fix definitions of ICACHEF_* flags

test_bit and set_bit take the bit number to operate on, rather than a
mask. This patch fixes the ICACHEF_* definitions so that they represent
the bit index in __icache_flags as opposed to the mask returned by the
BIT macro.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cachetype.h