diff options
| author | Danilo Krummrich <[email protected]> | 2024-10-04 15:41:06 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2024-10-14 15:55:40 +0000 |
| commit | a654a6e09644266e38ac05415ef7737d299c4497 (patch) | |
| tree | 04051b67c0c165c7199fabeef27368b305da5ed6 /rust/helpers/helpers.c | |
| parent | rust: alloc: add `Allocator` trait (diff) | |
| download | kernel-a654a6e09644266e38ac05415ef7737d299c4497.tar.gz kernel-a654a6e09644266e38ac05415ef7737d299c4497.zip | |
rust: alloc: separate `aligned_size` from `krealloc_aligned`
Separate `aligned_size` from `krealloc_aligned`.
Subsequent patches implement `Allocator` derivates, such as `Kmalloc`,
that require `aligned_size` and replace the original `krealloc_aligned`.
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Signed-off-by: Danilo Krummrich <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
