summaryrefslogtreecommitdiff
path: root/arch/x86/mm/pageattr.c
diff options
context:
space:
mode:
authorSai Praneeth <sai.praneeth.prakhya@intel.com>2016-02-17 15:36:06 +0300
committerIngo Molnar <mingo@kernel.org>2016-02-22 10:26:28 +0300
commit2ad510dc372c2caac9aada9ff6dd10e787616e1d (patch)
treec7bba60189c8216464ab17402c11811cd17e2439 /arch/x86/mm/pageattr.c
parent6d0cc887d571e96f928be83f094322451fd4bf6f (diff)
downloadlinux-2ad510dc372c2caac9aada9ff6dd10e787616e1d.tar.xz
x86/efi: Only map kernel text for EFI mixed mode
The correct symbol to use when figuring out the size of the kernel text is '_etext', not '_end' which is the symbol for the entire kernel image includes data and debug sections. Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> 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: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/1455712566-16727-14-git-send-email-matt@codeblueprint.co.uk Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/mm/pageattr.c')
0 files changed, 0 insertions, 0 deletions