smp: Punt a without-interrupts. Squash into 60db1a8.
authorMatt Birkholz <puck@birchwood-abbey.net>
Fri, 13 Mar 2015 07:18:17 +0000 (00:18 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Fri, 13 Mar 2015 07:18:17 +0000 (00:18 -0700)
src/runtime/floenv.scm

index 445fc927f94207576228e8062af3a6228d70bb38..8d1f684924b219edceef0ef6b85ddc4d4ef5b6f4 100644 (file)
@@ -153,20 +153,18 @@ USA.
 
 (define (reset-package!)
   (set! default-environment
-       (without-interrupts
-        (lambda ()
-          (let ((fp-env ((ucode-primitive FLOAT-ENVIRONMENT 0))))
-            ((ucode-primitive SET-FLOAT-ROUNDING-MODE 1)
-             (%mode-name->number
-              (flo:default-rounding-mode)
-              '|#[(runtime floating-point-environment)reset-package!]|))
-            ((ucode-primitive CLEAR-FLOAT-EXCEPTIONS 1)
-             (flo:supported-exceptions))
-            ((ucode-primitive SET-TRAPPED-FLOAT-EXCEPTIONS 1)
-             (flo:default-trapped-exceptions))
-            (let ((fp-env* ((ucode-primitive FLOAT-ENVIRONMENT 0))))
-              ((ucode-primitive SET-FLOAT-ENVIRONMENT 1) fp-env)
-              fp-env*)))))
+       (let ((fp-env ((ucode-primitive FLOAT-ENVIRONMENT 0))))
+         ((ucode-primitive SET-FLOAT-ROUNDING-MODE 1)
+          (%mode-name->number
+           (flo:default-rounding-mode)
+           '|#[(runtime floating-point-environment)reset-package!]|))
+         ((ucode-primitive CLEAR-FLOAT-EXCEPTIONS 1)
+          (flo:supported-exceptions))
+         ((ucode-primitive SET-TRAPPED-FLOAT-EXCEPTIONS 1)
+          (flo:default-trapped-exceptions))
+         (let ((fp-env* ((ucode-primitive FLOAT-ENVIRONMENT 0))))
+           ((ucode-primitive SET-FLOAT-ENVIRONMENT 1) fp-env)
+           fp-env*)))
   unspecific)
 
 (define (initialize-package!)