OSDN Git Service

arm64: Clean up the initial page table creation in head.S
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 16 Jul 2014 11:10:33 +0000 (12:10 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 23 Jul 2014 14:28:01 +0000 (15:28 +0100)
commitb4a0d8b37797663b0e523c102dbb3e4b712a720c
treef0b86308ffc3202889c4286adea1cce4f6f6d4e6
parent0f1740252bea82c972e432f4d0fb76e974d53bd3
arm64: Clean up the initial page table creation in head.S

This patch adds a create_table_entry macro which is used to populate pgd
and pud entries, also reducing the number of arguments for
create_pgd_entry.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Jungseok Lee <jungseoklee85@gmail.com>
arch/arm64/kernel/head.S