]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: pgd: Mark pgd_cache as __ro_after_init
authorJinbum Park <jinb.park7@gmail.com>
Wed, 22 Nov 2017 12:43:59 +0000 (21:43 +0900)
committerWill Deacon <will.deacon@arm.com>
Fri, 1 Dec 2017 13:05:04 +0000 (13:05 +0000)
commitc4c8c9b3a8b500f16e40aff237e7eff588ed6b32
tree42c7f95a9e464d2cd31a3141b6bcd3699e17120b
parent0dfbc986176c82e0a9178f6faf9304df90668dc0
arm64: pgd: Mark pgd_cache as __ro_after_init

pgd_cache is setup once while init stage and never changed after
that, so it is good candidate for __ro_after_init

Signed-off-by: Jinbum Park <jinb.park7@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/pgd.c