From eec8dc3504e46fbfa05f995794a2ee59dfbce89f Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Mon, 28 Jul 2008 15:46:40 -0700 Subject: [PATCH] --- yaml --- r: 106939 b: refs/heads/master c: 34ee55014283a60efa3534c06e010579ffdd3756 h: refs/heads/master i: 106937: 567f5b94a2db4176da5cfcbbb9d2fa489d0dc158 106935: 1aef721dae383248d2387557cbc8bbeab7c46011 v: v3 --- [refs] | 2 +- trunk/include/asm-generic/pgtable-nopmd.h | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b0b6c718a068..bd2677faae3c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c27ef92d8e0c29a9e8b8ee1b04f3d2cace482d92 +refs/heads/master: 34ee55014283a60efa3534c06e010579ffdd3756 diff --git a/trunk/include/asm-generic/pgtable-nopmd.h b/trunk/include/asm-generic/pgtable-nopmd.h index 087325ede76c..a7cdc48e8b78 100644 --- a/trunk/include/asm-generic/pgtable-nopmd.h +++ b/trunk/include/asm-generic/pgtable-nopmd.h @@ -5,6 +5,8 @@ #include +struct mm_struct; + #define __PAGETABLE_PMD_FOLDED /* @@ -54,7 +56,9 @@ static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address) * inside the pud, so has no extra memory associated with it. */ #define pmd_alloc_one(mm, address) NULL -#define pmd_free(mm, x) do { } while (0) +static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd) +{ +} #define __pmd_free_tlb(tlb, x) do { } while (0) #undef pmd_addr_end