xen/p2m: Use SetPagePrivate and its friends for M2P overrides.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 23 Sep 2011 21:36:07 +0000 (17:36 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 24 Sep 2011 02:22:33 +0000 (22:22 -0400)
commit0f4b49eaf25e661fbe63a5370b7781166b34d616
tree6cb3f57d06e26c80d7ea19b6dba5add060b2f5c1
parenta867db10e89e12a3d97dedafdd411aa1527a6540
xen/p2m: Use SetPagePrivate and its friends for M2P overrides.

We use the page->private field and hence should use the proper
macros and set proper bits. Also WARN_ON in case somebody
tries to overwrite our data.

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