lkml.org 
[lkml]   [2007]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH x86 for review II] [19/39] x86_64: remove get_pmd()
    Date

    From: "Jan Beulich" <jbeulich@novell.com>
    Function is dead.

    Signed-off-by: Jan Beulich <jbeulich@novell.com>
    Signed-off-by: Andi Kleen <ak@suse.de>

    ---
    include/asm-x86_64/pgalloc.h | 5 -----
    1 file changed, 5 deletions(-)

    Index: linux/include/asm-x86_64/pgalloc.h
    ===================================================================
    --- linux.orig/include/asm-x86_64/pgalloc.h
    +++ linux/include/asm-x86_64/pgalloc.h
    @@ -18,11 +18,6 @@ static inline void pmd_populate(struct m
    set_pmd(pmd, __pmd(_PAGE_TABLE | (page_to_pfn(pte) << PAGE_SHIFT)));
    }

    -static inline pmd_t *get_pmd(void)
    -{
    - return (pmd_t *)get_zeroed_page(GFP_KERNEL);
    -}
    -
    static inline void pmd_free(pmd_t *pmd)
    {
    BUG_ON((unsigned long)pmd & (PAGE_SIZE-1));
    -
    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-02-12 08:49    [W:0.030 / U:0.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site