Skip to content

Commit

Permalink
Disabled personality() call when it's not needed any more.
Browse files Browse the repository at this point in the history
  • Loading branch information
akovalenko committed Nov 4, 2011
1 parent 7340b69 commit 451fe4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runtime/linux-os.c
Expand Up @@ -246,6 +246,7 @@ os_init(char *argv[], char *envp[])
* don't do this trick on other platforms.
*/
#if defined(LISP_FEATURE_X86) || defined(LISP_FEATURE_X86_64)
#if !defined(LISP_FEATURE_SB_DYNAMIC_CORE)
if ((major_version == 2
/* Some old kernels will apparently lose unsupported personality flags
* on exec() */
Expand Down Expand Up @@ -289,6 +290,7 @@ os_init(char *argv[], char *envp[])
fprintf(stderr, "WARNING: Couldn't re-execute SBCL with the proper personality flags (maybe /proc isn't mounted?). Trying to continue anyway.\n");
}
}
#endif
#ifdef LISP_FEATURE_X86
/* Use SSE detector. Recent versions of Linux enable SSE support
* on SSE capable CPUs. */
Expand Down

0 comments on commit 451fe4b

Please sign in to comment.