lkml.org 
[lkml]   [2007]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH for review] [1/48] i386: pgd_{c,d}tor() static
    Date

    From: Adrian Bunk <bunk@stusta.de>

    pgd_{c,d}tor() can now become static.

    Signed-off-by: Adrian Bunk <bunk@stusta.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Andi Kleen <ak@suse.de>

    ---

    arch/i386/mm/pgtable.c | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    Index: linux/arch/i386/mm/pgtable.c
    ===================================================================
    --- linux.orig/arch/i386/mm/pgtable.c
    +++ linux/arch/i386/mm/pgtable.c
    @@ -235,7 +235,7 @@ static inline void pgd_list_del(pgd_t *p

    #if (PTRS_PER_PMD == 1)
    /* Non-PAE pgd constructor */
    -void pgd_ctor(void *pgd)
    +static void pgd_ctor(void *pgd)
    {
    unsigned long flags;

    @@ -257,7 +257,7 @@ void pgd_ctor(void *pgd)
    }
    #else /* PTRS_PER_PMD > 1 */
    /* PAE pgd constructor */
    -void pgd_ctor(void *pgd)
    +static void pgd_ctor(void *pgd)
    {
    /* PAE, kernel PMD may be shared */

    @@ -276,7 +276,7 @@ void pgd_ctor(void *pgd)
    }
    #endif /* PTRS_PER_PMD */

    -void pgd_dtor(void *pgd)
    +static void pgd_dtor(void *pgd)
    {
    unsigned long flags; /* can be called from interrupt context */

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2007-07-19 15:51    [W:0.017 / U:0.596 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site