mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
17 lines
465 B
Diff
17 lines
465 B
Diff
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S
|
|
index 8f3e2de..41baa1f 100644
|
|
--- a/arch/x86/kernel/entry_32.S
|
|
+++ b/arch/x86/kernel/entry_32.S
|
|
@@ -554,11 +554,6 @@
|
|
|
|
CFI_RESTORE_STATE
|
|
ldt_ss:
|
|
- larl PT_OLDSS(%esp), %eax
|
|
- jnz restore_nocheck
|
|
- testl $0x00400000, %eax # returning to 32bit stack?
|
|
- jnz restore_nocheck # allright, normal return
|
|
-
|
|
#ifdef CONFIG_PARAVIRT
|
|
/*
|
|
* The kernel can't run on a non-flat stack if paravirt mode
|