]> 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)
commit62d53432ca882840c021f8ddb0c50c693ca43dad
treec6c5b8fdf827eda90471d6bc1a1eed4e35c78177
parenta3c1d2f31247a7d805a1215dec84785b7aeaf90a
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