Skip to content
Snippets Groups Projects
Verified Commit 8a2ff1ec authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Only try to set FS on x86_64

parent 824184a6
No related branches found
No related tags found
No related merge requests found
Pipeline #9976 failed
...@@ -143,7 +143,7 @@ pub unsafe fn init(sp: &'static Stack) { ...@@ -143,7 +143,7 @@ pub unsafe fn init(sp: &'static Stack) {
const ARCH_GET_FS: usize = 0x1003; const ARCH_GET_FS: usize = 0x1003;
syscall!(ARCH_PRCTL, ARCH_GET_FS, &mut tp as *mut usize); syscall!(ARCH_PRCTL, ARCH_GET_FS, &mut tp as *mut usize);
} }
#[cfg(target_os = "redox")] #[cfg(all(target_os = "redox", target_arch = "x86_64"))]
{ {
let mut env = syscall::EnvRegisters::default(); let mut env = syscall::EnvRegisters::default();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment