diff options
author | Waiman Long <longman@redhat.com> | 2018-03-22 22:18:53 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-03-23 22:18:31 +0300 |
commit | 06ace26f4e6fcf747e890a39193be811777a048a (patch) | |
tree | 34ab8fe260ed40d330cb6b2ed39b662e488b9ff8 /tools/objtool/check.c | |
parent | 31ad7f8e7dc94d3b85ccf9b6141ce6dfd35a1781 (diff) | |
download | linux-06ace26f4e6fcf747e890a39193be811777a048a.tar.xz |
x86/efi: Free efi_pgd with free_pages()
The efi_pgd is allocated as PGD_ALLOCATION_ORDER pages and therefore must
also be freed as PGD_ALLOCATION_ORDER pages with free_pages().
Fixes: d9e9a6418065 ("x86/mm/pti: Allocate a separate user PGD")
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/1521746333-19593-1-git-send-email-longman@redhat.com
Diffstat (limited to 'tools/objtool/check.c')
0 files changed, 0 insertions, 0 deletions