Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/rust/helpers/gpu.c
170831 views
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 */
18
19