ARM: mmu: Use find_pte() to find PTE in create_vector_table()
There's already a function that implement necessary arithemtic to find
offset within page table for a given address, so make use of it
instead of re-implementing it again.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6419c46 commit 79a34e861d4124ba47e2a0b66ca72ff69b799663
@Andrey Smirnov Andrey Smirnov authored on 21 May 2018
Sascha Hauer committed on 22 May 2018
Showing 1 changed file
View
arch/arm/cpu/mmu.c