mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +00:00
kernel: syscall: remove warning in hosted mode
This was a function whose only purpose is useful in baremetal mode. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
62623f995c
commit
76b16579b0
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ enum ExecutionType {
|
||||||
NonBlocking,
|
NonBlocking,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(baremetal)]
|
||||||
pub fn reset_switchto_caller() {
|
pub fn reset_switchto_caller() {
|
||||||
unsafe { SWITCHTO_CALLER = None };
|
unsafe { SWITCHTO_CALLER = None };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue