This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / asm-ppc64 / mmu.h
index b42d9a4..54a1466 100644 (file)
@@ -100,16 +100,6 @@ typedef struct {
        } dw1;
 } SLBE;
 
-/*
- * This structure is used in paca.h where the layout depends on the 
- * size being 24B.
- */
-typedef struct {
-        unsigned long   real;
-        unsigned long   virt;
-        unsigned long   next_round_robin;
-} STAB;
-
 /* Hardware Page Table Entry */
 
 #define HPTES_PER_GROUP 8
@@ -204,7 +194,7 @@ static inline unsigned long hpt_hash(unsigned long vpn, int large)
                page = vpn & 0xffff;
        }
 
-       return (vsid & 0x7fffffffff) ^ page;
+       return (vsid & 0x7fffffffffUL) ^ page;
 }
 
 static inline void __tlbie(unsigned long va, int large)