aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/kernel/doublefault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/doublefault.c')
-rw-r--r--arch/i386/kernel/doublefault.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/i386/kernel/doublefault.c b/arch/i386/kernel/doublefault.c
index 5edb1d379ad..b4d14c2eb34 100644
--- a/arch/i386/kernel/doublefault.c
+++ b/arch/i386/kernel/doublefault.c
@@ -44,7 +44,8 @@ static void doublefault_fn(void)
}
}
- for (;;) /* nothing */;
+ for (;;)
+ cpu_relax();
}
struct tss_struct doublefault_tss __cacheline_aligned = {