- /* Set foreign function call active. */
- foreign_function_call_active = 1;
-
- /* Initialize the current Lisp state. */
-#ifndef __i386__
- current_control_stack_pointer = (lispobj *)CONTROL_STACK_START;
+#ifndef LISP_FEATURE_SB_THREAD
+#if defined(LISP_FEATURE_X86) || defined(LISP_FEATURE_X86_64)
+ /* KLUDGE: x86oids always think they're in lisp code. See the
+ * comment at the bottom of
+ * interrupt.c/fake_foreign_function_call() and the lack of any
+ * access to foreign_function_call_active or the corresponding
+ * thread slot in x86{,-64}-assem.S. */
+ foreign_function_call_active = 0;