]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
arm64: tlbflush: remove redundant ASID casts to (unsigned long)
authorWill Deacon <will.deacon@arm.com>
Tue, 6 Oct 2015 17:46:25 +0000 (18:46 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 7 Oct 2015 10:56:06 +0000 (11:56 +0100)
commitf3e002c24e1f3b66f6e392ecd6928b5d04672c54
tree289fae8e8787b87b00a3fca0c87049569b769426
parent5aec715d7d3122f77cabaa7578d9d25a0c1ed20e
arm64: tlbflush: remove redundant ASID casts to (unsigned long)

The ASID macro returns a 64-bit (long long) value, so there is no need
to cast to (unsigned long) before shifting prior to a TLBI operation.

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