x86-64, ptdump: Mark espfix area only if existent
authorMathias Krause <minipli@googlemail.com>
Sun, 7 Sep 2014 18:30:29 +0000 (20:30 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 8 Sep 2014 18:57:34 +0000 (11:57 -0700)
commit8a5a5d1530d55e367ef29c80946d0274717617bb
tree5f70062e4af3725481520f7b99bff5aad42c556a
parentf3761db1646d3ccb9ada2df8e27553a73ef43826
x86-64, ptdump: Mark espfix area only if existent

We should classify the espfix area as such only if we actually have
enabled the corresponding option. Otherwise the page table dump might
look confusing.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Link: http://lkml.kernel.org/r/1410114629-24523-1-git-send-email-minipli@googlemail.com
Cc: Arjan van de Ven <arjan.van.de.ven@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/mm/dump_pagetables.c