Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6: mm: Export symbol ksize()
This commit is contained in:
Коммит
071a0bc2ce
|
@ -4457,3 +4457,4 @@ size_t ksize(const void *objp)
|
|||
|
||||
return obj_size(virt_to_cache(objp));
|
||||
}
|
||||
EXPORT_SYMBOL(ksize);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -2736,6 +2736,7 @@ size_t ksize(const void *object)
|
|||
*/
|
||||
return s->size;
|
||||
}
|
||||
EXPORT_SYMBOL(ksize);
|
||||
|
||||
void kfree(const void *x)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче