1 // SPDX-License-Identifier: GPL-2.0
4 #include <linux/highmem.h>
6 struct page
*rust_helper_alloc_pages(gfp_t gfp_mask
, unsigned int order
)
8 return alloc_pages(gfp_mask
, order
);
11 void *rust_helper_kmap_local_page(struct page
*page
)
13 return kmap_local_page(page
);
16 void rust_helper_kunmap_local(const void *addr
)