Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1// SPDX-License-Identifier: GPL-2.0
2
3#include <linux/gpu_buddy.h>
4
5#ifdef CONFIG_GPU_BUDDY
6
7__rust_helper u64 rust_helper_gpu_buddy_block_offset(const struct gpu_buddy_block *block)
8{
9 return gpu_buddy_block_offset(block);
10}
11
12__rust_helper unsigned int rust_helper_gpu_buddy_block_order(struct gpu_buddy_block *block)
13{
14 return gpu_buddy_block_order(block);
15}
16
17#endif /* CONFIG_GPU_BUDDY */