Skip to content

Commit 8fcac36

Browse files
jannauherrnst
authored andcommitted
fixup! rust: io_pgtable: Add io_pgtable abstraction
kernel API change: add optional alloc/free function pointers to bindings::io_pgtable_cfg Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 3608d01 commit 8fcac36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rust/kernel/io_pgtable.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ pub trait IoPageTable: crate::private::Sealed {
124124
coherent_walk: config.coherent_walk,
125125
tlb: &Self::FLUSH_OPS,
126126
iommu_dev: dev.raw_device(),
127+
alloc: None,
128+
free: None,
127129
__bindgen_anon_1: unsafe { mem::zeroed() },
128130
};
129131

0 commit comments

Comments
 (0)