|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 03/10] xen: arm: Rename page table "hint" field to slightly more descriptive "contig"
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
xen/arch/arm/mm.c | 2 +-
xen/include/asm-arm/page.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c
index d1290cd..d57e44e 100644
--- a/xen/arch/arm/mm.c
+++ b/xen/arch/arm/mm.c
@@ -526,7 +526,7 @@ static void __init create_mappings(unsigned long virt,
count = nr_mfns / LPAE_ENTRIES;
p = xen_second + second_linear_offset(virt);
pte = mfn_to_xen_entry(base_mfn);
- pte.pt.hint = 1; /* These maps are in 16-entry contiguous chunks. */
+ pte.pt.contig = 1; /* These maps are in 16-entry contiguous chunks. */
for ( i = 0; i < count; i++ )
{
write_pte(p + i, pte);
diff --git a/xen/include/asm-arm/page.h b/xen/include/asm-arm/page.h
index 6317090..e34a8d6 100644
--- a/xen/include/asm-arm/page.h
+++ b/xen/include/asm-arm/page.h
@@ -115,7 +115,7 @@ typedef struct {
/* These seven bits are only used in Block entries and are ignored
* in Table entries. */
- unsigned long hint:1; /* In a block of 16 contiguous entries */
+ unsigned long contig:1; /* In a block of 16 contiguous entries */
unsigned long pxn:1; /* Privileged-XN */
unsigned long xn:1; /* eXecute-Never */
unsigned long avail:4; /* Ignored by hardware */
@@ -150,7 +150,7 @@ typedef struct {
/* These seven bits are only used in Block entries and are ignored
* in Table entries. */
- unsigned long hint:1; /* In a block of 16 contiguous entries */
+ unsigned long contig:1; /* In a block of 16 contiguous entries */
unsigned long sbz2:1;
unsigned long xn:1; /* eXecute-Never */
unsigned long avail:4; /* Ignored by hardware */
--
1.7.2.5
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |