mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 13:43:51 +00:00
mm: Export symbol ksize()
Commit 7b2cd92adc
("crypto: api - Fix
zeroing on free") added modular user of ksize(). Export that to fix
crypto.ko compilation.
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
This commit is contained in:
parent
b578f3fcca
commit
b1aabecd55
@ -4457,3 +4457,4 @@ size_t ksize(const void *objp)
|
|||||||
|
|
||||||
return obj_size(virt_to_cache(objp));
|
return obj_size(virt_to_cache(objp));
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(ksize);
|
||||||
|
@ -521,6 +521,7 @@ size_t ksize(const void *block)
|
|||||||
} else
|
} else
|
||||||
return sp->page.private;
|
return sp->page.private;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(ksize);
|
||||||
|
|
||||||
struct kmem_cache {
|
struct kmem_cache {
|
||||||
unsigned int size, align;
|
unsigned int size, align;
|
||||||
|
Loading…
Reference in New Issue
Block a user