mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
chore: cleanup warning in non-swap mode
This commit is contained in:
parent
d318134bdc
commit
9992d29b40
1 changed files with 1 additions and 0 deletions
|
|
@ -175,6 +175,7 @@ impl BootConfig {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "swap")]
|
||||||
fn alloc_swap(&mut self) -> *mut usize {
|
fn alloc_swap(&mut self) -> *mut usize {
|
||||||
self.init_size += PAGE_SIZE;
|
self.init_size += PAGE_SIZE;
|
||||||
let pg = self.get_top();
|
let pg = self.get_top();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue