fix: clean linux-kpi memory helpers
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -132,8 +132,8 @@ fn dma32_alloc(size: usize) -> *mut u8 {
|
|||||||
ptr::null_mut()
|
ptr::null_mut()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
const GFP_KERNEL: u32 = 0;
|
const GFP_KERNEL: u32 = 0;
|
||||||
const GFP_ATOMIC: u32 = 1;
|
|
||||||
const GFP_DMA32: u32 = 2;
|
const GFP_DMA32: u32 = 2;
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
|
|||||||
Reference in New Issue
Block a user