aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2013-06-04 16:18:17 +0100
committerIan Campbell <ian.campbell@citrix.com>2013-06-13 17:45:33 +0100
commitc4cf4c30a8a282ee874a0ab8aed43493cf6a928c (patch)
tree17ef1039f3baf4dbbf7ebbe711655b49f6e2a5f1
parent97e3e84c6dfa94f09b97d21454d4252fc3c190d8 (diff)
downloadxen-c4cf4c30a8a282ee874a0ab8aed43493cf6a928c.tar.gz
xen-c4cf4c30a8a282ee874a0ab8aed43493cf6a928c.tar.bz2
xen-c4cf4c30a8a282ee874a0ab8aed43493cf6a928c.zip
xen/arm: define PAGE_HYPERVISOR as WRITEALLOC
Use stage 1 attribute indexes for PAGE_HYPERVISOR, the appriopriate one for normal memory hypervisor mappings in Xen is WRITEALLOC. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>
-rw-r--r--xen/include/asm-arm/page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-arm/page.h b/xen/include/asm-arm/page.h
index 13fbd788af..41e9eff3aa 100644
--- a/xen/include/asm-arm/page.h
+++ b/xen/include/asm-arm/page.h
@@ -58,7 +58,7 @@
#define DEV_WC BUFFERABLE
#define DEV_CACHED WRITEBACK
-#define PAGE_HYPERVISOR (MATTR_MEM)
+#define PAGE_HYPERVISOR (WRITEALLOC)
#define PAGE_HYPERVISOR_NOCACHE (DEV_SHARED)
#define PAGE_HYPERVISOR_WC (DEV_WC)
#define MAP_SMALL_PAGES PAGE_HYPERVISOR