[POWERPC] Fix arch/ppc compilation - add typedef for pgtable_t
authorStefan Roese <sr@denx.de>
Mon, 11 Feb 2008 09:41:18 +0000 (20:41 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Feb 2008 11:11:02 +0000 (22:11 +1100)
Commit 2f569afd9ced9ebec9a6eb3dbf6f83429be0a7b4 ("CONFIG_HIGHPTE vs.
sub-page page tables.") breaks compilation of arch/ppc since it
introduces the pgtable_t type which was not added to arch/ppc.

This adds the missing typedef.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-ppc/page.h

index ad4c5a1bc9d658daab08ca0825d55cb728e1b8a2..37e4756b6b2df2e0093133f5153ebdd34ae84864 100644 (file)
@@ -125,6 +125,8 @@ extern __inline__ int get_order(unsigned long size)
        return 32 - lz;
 }
 
+typedef struct page *pgtable_t;
+
 #endif /* __ASSEMBLY__ */
 
 #define VM_DATA_DEFAULT_FLAGS  (VM_READ | VM_WRITE | VM_EXEC | \