X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Flinux-os.c;h=9b2e3cf4acfce912949ce50d8a1910b71b003e44;hb=c0578d9893429c9c0da80ea5920360e4621fddab;hp=1635132cddc325f7dd2f26a3de20160cb3190098;hpb=f4d67a7038ee868061855fc22977b79a12bb2d73;p=sbcl.git diff --git a/src/runtime/linux-os.c b/src/runtime/linux-os.c index 1635132..9b2e3cf 100644 --- a/src/runtime/linux-os.c +++ b/src/runtime/linux-os.c @@ -239,7 +239,7 @@ os_init(char *argv[], char *envp[]) * Since randomization is currently implemented only on x86 kernels, * don't do this trick on other platforms. */ -#ifdef LISP_FEATURE_X86 +#if defined(LISP_FEATURE_X86) || defined(LISP_FEATURE_X86_64) if ((major_version == 2 /* Some old kernels will apparently lose unsupported personality flags * on exec() */ @@ -283,11 +283,13 @@ 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"); } } +#ifdef LISP_FEATURE_X86 /* Use SSE detector. Recent versions of Linux enable SSE support * on SSE capable CPUs. */ /* FIXME: Are there any old versions that does not support SSE? */ fast_bzero_pointer = fast_bzero_detect; #endif +#endif }