Use with-interrupts-reduced in with-limited-interrupts.
authorMatt Birkholz <matt@birchwood-abbey.net>
Fri, 1 Jun 2018 21:01:34 +0000 (14:01 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Tue, 5 Jun 2018 06:55:19 +0000 (23:55 -0700)
Save a primitive apply.

src/runtime/boot.scm

index 86ed5d5992819914da84588066dc58e2558bb7a2..d06b5a6f3dfe1c603379b007d6f1e431927cb01b 100644 (file)
@@ -220,9 +220,7 @@ USA.
       (thunk))))
 
 (define (with-limited-interrupts limit-mask procedure)
-  ((ucode-primitive with-interrupt-mask)
-   (fix:and limit-mask (get-interrupt-enables))
-   procedure))
+  ((ucode-primitive with-interrupts-reduced) limit-mask procedure))
 \f
 ;;;; Boot-time initializers