Commit 7084ebaa authored by Stefan Roese's avatar Stefan Roese Committed by Paul Mackerras

[POWERPC] Fix arch/ppc compilation - add typedef for pgtable_t

Commit 2f569afd ("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: default avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent fb8642db
...@@ -125,6 +125,8 @@ extern __inline__ int get_order(unsigned long size) ...@@ -125,6 +125,8 @@ extern __inline__ int get_order(unsigned long size)
return 32 - lz; return 32 - lz;
} }
typedef struct page *pgtable_t;
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment