aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/xen')
-rw-r--r--arch/x86/xen/p2m.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c
index 2e3bf7a0732b..795e003517e1 100644
--- a/arch/x86/xen/p2m.c
+++ b/arch/x86/xen/p2m.c
@@ -787,12 +787,15 @@ int p2m_dump_show(struct seq_file *m, void *v)
787{ 787{
788 static const char * const level_name[] = { "top", "middle", 788 static const char * const level_name[] = { "top", "middle",
789 "entry", "abnormal", "error"}; 789 "entry", "abnormal", "error"};
790 static const char * const type_name[] = { "identity", "missing",
791 "pfn", "abnormal"};
792#define TYPE_IDENTITY 0 790#define TYPE_IDENTITY 0
793#define TYPE_MISSING 1 791#define TYPE_MISSING 1
794#define TYPE_PFN 2 792#define TYPE_PFN 2
795#define TYPE_UNKNOWN 3 793#define TYPE_UNKNOWN 3
794 static const char * const type_name[] = {
795 [TYPE_IDENTITY] = "identity",
796 [TYPE_MISSING] = "missing",
797 [TYPE_PFN] = "pfn",
798 [TYPE_UNKNOWN] = "abnormal"};
796 unsigned long pfn, prev_pfn_type = 0, prev_pfn_level = 0; 799 unsigned long pfn, prev_pfn_type = 0, prev_pfn_level = 0;
797 unsigned int uninitialized_var(prev_level); 800 unsigned int uninitialized_var(prev_level);
798 unsigned int uninitialized_var(prev_type); 801 unsigned int uninitialized_var(prev_type);