xref: /linux/rust/helpers/slab.c (revision 570172569238c66a482ec3eb5d766cc9cf255f69)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <linux/slab.h>
4 
5 void * __must_check __realloc_size(2)
rust_helper_krealloc(const void * objp,size_t new_size,gfp_t flags)6 rust_helper_krealloc(const void *objp, size_t new_size, gfp_t flags)
7 {
8 	return krealloc(objp, new_size, flags);
9 }
10