Syntax error

This commit is contained in:
Jeremy Soller
2022-08-20 20:52:19 -06:00
parent a1d0b8fc35
commit 8b629a562b
+2 -2
View File
@@ -210,7 +210,7 @@ impl Tcb {
/// Architecture specific code to read a usize from the TCB - x86
#[inline(always)]
#[cfg(any(target_arch = "x86")]
#[cfg(target_arch = "x86")]
unsafe fn arch_read(offset: usize) -> usize {
let value;
asm!(
@@ -225,7 +225,7 @@ impl Tcb {
/// Architecture specific code to read a usize from the TCB - x86_64
#[inline(always)]
#[cfg(any(target_arch = "x86_64")]
#[cfg(target_arch = "x86_64")]
unsafe fn arch_read(offset: usize) -> usize {
let value;
asm!(