Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1aabecd authored by Kirill A. Shutemov's avatar Kirill A. Shutemov Committed by Pekka Enberg
Browse files

mm: Export symbol ksize()



Commit 7b2cd92a ("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: default avatarKirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
parent b578f3fc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4457,3 +4457,4 @@ size_t ksize(const void *objp)

	return obj_size(virt_to_cache(objp));
}
EXPORT_SYMBOL(ksize);
+1 −0
Original line number Diff line number Diff line
@@ -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;
+1 −0
Original line number Diff line number Diff line
@@ -2736,6 +2736,7 @@ size_t ksize(const void *object)
	 */
	return s->size;
}
EXPORT_SYMBOL(ksize);

void kfree(const void *x)
{