summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-01-04 05:14:32 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-04 05:14:32 -0800
commitcc07552d93c5faa2fcaae251e61532fdebfff13d (patch)
tree78deaedece7a5fcc568e0a15ed17c02425199cbc /include
parent7ed2df0c5a46478fa063d2300692f059a657b553 (diff)
[PATCH] ppc64: tidy up the htab_data structure
More tidying up. The htab_data structure contained 5 fields or which two were completely unused and one other was just kept for printing at boot time. I have mode the remaining two into global variables. Built and booted on iSeries (which is always lpar) and on pSeries without partitioning. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/mmu.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/asm-ppc64/mmu.h b/include/asm-ppc64/mmu.h
index dbd7ac630507..daebba6b7a17 100644
--- a/include/asm-ppc64/mmu.h
+++ b/include/asm-ppc64/mmu.h
@@ -98,15 +98,8 @@ typedef struct {
#define PP_RXRX 3 /* Supervisor read, User read */
-typedef struct {
- HPTE * htab;
- unsigned long htab_num_ptegs;
- unsigned long htab_hash_mask;
- unsigned long next_round_robin;
- unsigned long last_kernel_address;
-} HTAB;
-
-extern HTAB htab_data;
+extern HPTE * htab_address;
+extern unsigned long htab_hash_mask;
static inline unsigned long hpt_hash(unsigned long vpn, int large)
{