Commit:     c1c9889a3860028b3578b98c3a56bdf0dd658920
Parent:     f1aed92464def83fc3677cade823cad71cf5f0d4
Author:     Kumar Gala <[EMAIL PROTECTED]>
AuthorDate: Wed May 23 07:59:06 2007 -0500
Committer:  Kumar Gala <[EMAIL PROTECTED]>
CommitDate: Wed May 23 07:59:06 2007 -0500

    [PPC] Fix modpost warning
    Mark pte_alloc_one_kernel as __init_refok to fix the following warning:
    WARNING: arch/ppc/mm/built-in.o(.text+0x1114): Section mismatch: reference 
to .init.text:early_get_page (between 'pte_alloc_one_kernel' and 
    Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
 arch/ppc/mm/pgtable.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/ppc/mm/pgtable.c b/arch/ppc/mm/pgtable.c
index c023b72..35ebb63 100644
--- a/arch/ppc/mm/pgtable.c
+++ b/arch/ppc/mm/pgtable.c
@@ -92,7 +92,7 @@ void pgd_free(pgd_t *pgd)
        free_pages((unsigned long)pgd, PGDIR_ORDER);
-pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address)
+__init_refok pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long 
        pte_t *pte;
        extern int mem_init_done;
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

Reply via email to