Skip to content

Commit

Permalink
[POWERPC] Fix arch/ppc compilation - add typedef for pgtable_t
Browse files Browse the repository at this point in the history
Commit 2f569af ("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>
  • Loading branch information
Stefan Roese authored and Paul Mackerras committed Feb 14, 2008
1 parent fb8642d commit 7084eba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-ppc/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 | \
Expand Down

0 comments on commit 7084eba

Please sign in to comment.