summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/exception.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/exception.c b/src/arch/x86/exception.c
index f668ffcadb..201e835e16 100644
--- a/src/arch/x86/exception.c
+++ b/src/arch/x86/exception.c
@@ -622,7 +622,7 @@ asmlinkage void exception_init(void)
{
int i;
uint16_t segment;
- struct intr_gate *gates = car_get_var_ptr(idt);
+ struct intr_gate *gates;
segment = get_cs();
gates = car_get_var_ptr(idt);