xen/p2m/debugfs: Make type_name more obvious.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 3 Oct 2011 16:35:26 +0000 (12:35 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 19 Oct 2011 21:03:34 +0000 (17:03 -0400)
commita491dbef56f2aba42fb292067d4652d246627738
treee7dff1f92c73ba4979a0b320cd6ce0849d09ec61
parent8404877ee1cfdbc872e153fd89022f9e47f6f5a3
xen/p2m/debugfs: Make type_name more obvious.

Per Ian Campbell suggestion to defend against future breakage
in case we expand the P2M values, incorporate the defines
in the string array.

Suggested-by: Ian Campbell <Ian.Campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/p2m.c