Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7084ebaa266e1686ef6e157aff9137cc28a92843
Commit:     7084ebaa266e1686ef6e157aff9137cc28a92843
Parent:     fb8642db19d57361be671a30d3f13defaf6b6cff
Author:     Stefan Roese <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 11 20:41:18 2008 +1100
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu Feb 14 22:11:02 2008 +1100

    [POWERPC] Fix arch/ppc compilation - add typedef for pgtable_t
    
    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 <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 include/asm-ppc/page.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/asm-ppc/page.h b/include/asm-ppc/page.h
index ad4c5a1..37e4756 100644
--- a/include/asm-ppc/page.h
+++ b/include/asm-ppc/page.h
@@ -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 | \
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to