summaryrefslogtreecommitdiff
path: root/src/include/cpu/x86/cr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cpu/x86/cr.h')
-rw-r--r--src/include/cpu/x86/cr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/cpu/x86/cr.h b/src/include/cpu/x86/cr.h
index 175b1e84be..dafa791213 100644
--- a/src/include/cpu/x86/cr.h
+++ b/src/include/cpu/x86/cr.h
@@ -42,7 +42,7 @@ static alwaysinline CRx_TYPE read_cr0(void)
CRx_TYPE value;
__asm__ __volatile__ (
"mov %%cr0, %0"
- : CRx_RET (value)
+ : CRx_RET(value)
:
: COMPILER_BARRIER
);
@@ -54,7 +54,7 @@ static alwaysinline void write_cr0(CRx_TYPE data)
__asm__ __volatile__ (
"mov %0, %%cr0"
:
- : CRx_IN (data)
+ : CRx_IN(data)
: COMPILER_BARRIER
);
}
@@ -64,7 +64,7 @@ static alwaysinline CRx_TYPE read_cr4(void)
CRx_TYPE value;
__asm__ __volatile__ (
"mov %%cr4, %0"
- : CRx_RET (value)
+ : CRx_RET(value)
:
: COMPILER_BARRIER
);
@@ -76,7 +76,7 @@ static alwaysinline void write_cr4(CRx_TYPE data)
__asm__ __volatile__ (
"mov %0, %%cr4"
:
- : CRx_IN (data)
+ : CRx_IN(data)
: COMPILER_BARRIER
);
}