patch-2.1.16 linux/include/asm-ppc/mmu.h
Next file: linux/include/asm-ppc/page.h
Previous file: linux/include/asm-ppc/mman.h
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Wed Dec 18 10:54:09 1996
- Orig file:
v2.1.15/linux/include/asm-ppc/mmu.h
- Orig date:
Mon May 27 12:00:59 1996
diff -u --recursive --new-file v2.1.15/linux/include/asm-ppc/mmu.h linux/include/asm-ppc/mmu.h
@@ -6,7 +6,6 @@
#define _PPC_MMU_H_
/* Hardware Page Table Entry */
-
typedef struct _PTE
{
unsigned long v:1; /* Entry is valid */
@@ -32,7 +31,6 @@
#define PP_RXRX 3 /* Supervisor read, User read */
/* Segment Register */
-
typedef struct _SEGREG
{
unsigned long t:1; /* Normal or I/O type */
@@ -44,7 +42,6 @@
} SEGREG;
/* Block Address Translation (BAT) Registers */
-
typedef struct _BATU /* Upper part of BAT */
{
unsigned long bepi:15; /* Effective page index (virtual address) */
@@ -146,8 +143,6 @@
#define HASH_TABLE_MASK_2M 0x01F
#define HASH_TABLE_MASK_4M 0x03F
-#define MMU_PAGE_SIZE 4096
-
-extern int MMU_hash_page(struct thread_struct *tss, unsigned long va, pte *pg);
+extern inline int MMU_hash_page(struct thread_struct *tss, unsigned long va, pte *pg);
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov