aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/mmu-hash32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/mmu-hash32.h')
-rw-r--r--include/asm-powerpc/mmu-hash32.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-powerpc/mmu-hash32.h b/include/asm-powerpc/mmu-hash32.h
index 2d3e183cfeb5..4bd735be3833 100644
--- a/include/asm-powerpc/mmu-hash32.h
+++ b/include/asm-powerpc/mmu-hash32.h
@@ -28,7 +28,7 @@
28#define BPP_RW 0x02 /* Read/write */ 28#define BPP_RW 0x02 /* Read/write */
29 29
30#ifndef __ASSEMBLY__ 30#ifndef __ASSEMBLY__
31typedef struct _BAT { 31struct ppc_bat {
32 struct { 32 struct {
33 unsigned long bepi:15; /* Effective page index (virtual address) */ 33 unsigned long bepi:15; /* Effective page index (virtual address) */
34 unsigned long :4; /* Unused */ 34 unsigned long :4; /* Unused */
@@ -46,7 +46,7 @@ typedef struct _BAT {
46 unsigned long :1; /* Unused */ 46 unsigned long :1; /* Unused */
47 unsigned long pp:2; /* Page access protections */ 47 unsigned long pp:2; /* Page access protections */
48 } batl; /* Lower register */ 48 } batl; /* Lower register */
49} BAT; 49};
50#endif /* !__ASSEMBLY__ */ 50#endif /* !__ASSEMBLY__ */
51 51
52/* 52/*
@@ -62,7 +62,7 @@ typedef struct _BAT {
62#ifndef __ASSEMBLY__ 62#ifndef __ASSEMBLY__
63 63
64/* Hardware Page Table Entry */ 64/* Hardware Page Table Entry */
65typedef struct _PTE { 65struct hash_pte {
66 unsigned long v:1; /* Entry is valid */ 66 unsigned long v:1; /* Entry is valid */
67 unsigned long vsid:24; /* Virtual segment identifier */ 67 unsigned long vsid:24; /* Virtual segment identifier */
68 unsigned long h:1; /* Hash algorithm indicator */ 68 unsigned long h:1; /* Hash algorithm indicator */
@@ -77,7 +77,7 @@ typedef struct _PTE {
77 unsigned long g:1; /* Guarded */ 77 unsigned long g:1; /* Guarded */
78 unsigned long :1; /* Unused */ 78 unsigned long :1; /* Unused */
79 unsigned long pp:2; /* Page protection */ 79 unsigned long pp:2; /* Page protection */
80} PTE; 80};
81 81
82typedef struct { 82typedef struct {
83 unsigned long id; 83 unsigned long id;