x86/efi: Replace efi_pgd with efi_mm.pgd
authorSai Praneeth <sai.praneeth.prakhya@intel.com>
Mon, 12 Mar 2018 09:43:54 +0000 (09:43 +0000)
committerIngo Molnar <mingo@kernel.org>
Mon, 12 Mar 2018 10:05:05 +0000 (11:05 +0100)
commit3ede3417f8d59fff5c07339b310b343468c81b07
tree773a262ed6890ef39601f3c8457e48bae08d3c76
parent36b649760e94968e0495b73284aaf07eed0a328f
x86/efi: Replace efi_pgd with efi_mm.pgd

Since the previous patch added support for efi_mm, let's handle efi_pgd
through efi_mm and remove global variable efi_pgd.

Tested-by: Bhupesh Sharma <bhsharma@redhat.com>
Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Lee, Chun-Yi <jlee@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ravi Shankar <ravi.v.shankar@intel.com>
Cc: Ricardo Neri <ricardo.neri@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-efi@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/debug_pagetables.c
arch/x86/platform/efi/efi_64.c