]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: mm: Add asid_gen_match() helper
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Tue, 19 May 2020 17:54:43 +0000 (19:54 +0200)
committerWill Deacon <will@kernel.org>
Thu, 21 May 2020 13:46:14 +0000 (14:46 +0100)
commit4fc92254bf86b19ac1ef81f61f4e690fccfcba4a
treec6c5b8fdf827eda90471d6bc1a1eed4e35c78177
parentbd4298c72b56d7faf0ee3671739f3a704a962d0f
arm64: mm: Add asid_gen_match() helper

Add a macro to check if an ASID is from the current generation, since a
subsequent patch will introduce a third user for this test.

Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20200519175502.2504091-6-jean-philippe@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/mm/context.c