arm64: Clean up __flush_tlb(_kernel)_range functions
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 24 Jul 2015 08:59:55 +0000 (09:59 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 28 Jul 2015 10:43:15 +0000 (11:43 +0100)
commitda4e73303e448aa23b36249a85e239ca118ce941
tree3e000b03d539fd0614735e42eb528f7c9684236a
parentc53e0baa6f34b7051790e0fba9d782ec4efe58bd
arm64: Clean up __flush_tlb(_kernel)_range functions

This patch moves the MAX_TLB_RANGE check into the
flush_tlb(_kernel)_range functions directly to avoid the
undescore-prefixed definitions (and for consistency with a subsequent
patch).

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