lkml.org 
[lkml]   [2009]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[GIT PULL] SLAB/SLOB/SLUB updates for 2.6.29-rc4
    Hi Linus,

    Please pull the latest SLAB git tree from:

    git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6.git for-linus

    It contains patches that export ksize() to fix modular crypto build.

    Pekka

    Kirill A. Shutemov (1):
    mm: Export symbol ksize()

    mm/slab.c | 1 +
    mm/slob.c | 1 +
    mm/slub.c | 1 +
    3 files changed, 3 insertions(+), 0 deletions(-)

    diff --git a/mm/slab.c b/mm/slab.c
    index ddc41f3..4d00855 100644
    --- a/mm/slab.c
    +++ b/mm/slab.c
    @@ -4457,3 +4457,4 @@ size_t ksize(const void *objp)

    return obj_size(virt_to_cache(objp));
    }
    +EXPORT_SYMBOL(ksize);
    diff --git a/mm/slob.c b/mm/slob.c
    index bf7e8fc..52bc8a2 100644
    --- a/mm/slob.c
    +++ b/mm/slob.c
    @@ -521,6 +521,7 @@ size_t ksize(const void *block)
    } else
    return sp->page.private;
    }
    +EXPORT_SYMBOL(ksize);

    struct kmem_cache {
    unsigned int size, align;
    diff --git a/mm/slub.c b/mm/slub.c
    index bdc9abb..0280eee 100644
    --- a/mm/slub.c
    +++ b/mm/slub.c
    @@ -2736,6 +2736,7 @@ size_t ksize(const void *object)
    */
    return s->size;
    }
    +EXPORT_SYMBOL(ksize);

    void kfree(const void *x)
    {

    \
     
     \ /
      Last update: 2009-02-12 18:15    [W:0.021 / U:0.164 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site