summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-07-10 00:57:44 +0200
committerRichard Braun <rbraun@sceen.net>2018-07-10 00:57:44 +0200
commit2746f4ce0eff1e97ac5e493bda5f62f10f0c0f8f (patch)
tree50491377c48eb7eaf30fd53ed527771406df3ba3
parent41c375a698a4807e6b9e2cc43235aa281655ff19 (diff)
x86/cpu: fix excetpion handling on i386
-rw-r--r--arch/x86/machine/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/machine/cpu.c b/arch/x86/machine/cpu.c
index bed4e414..2067d09d 100644
--- a/arch/x86/machine/cpu.c
+++ b/arch/x86/machine/cpu.c
@@ -343,7 +343,7 @@ cpu_gate_desc_init_intr(struct cpu_gate_desc *desc, cpu_ll_exc_fn_t fn,
desc->word3 = addr >> 32;
desc->word4 = 0;
#else /* __LP64__ */
- assert(ist_index == 0);
+ (void)ist_index;
#endif /* __LP64__ */
}