diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-02-26 20:52:46 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-02-26 20:52:46 +0300 |
commit | b9217601f849b8f0a3f4a491e26b3692287ee89d (patch) | |
tree | 70420cf5917e8e71b91024f0b3998b89eedcb1fc /newlib/libm/machine | |
parent | 678f774727527b0d398052ee4dcbcbcf72327910 (diff) |
Enable HW interrupt setup on x86/x86_64 systems by defaultnewlib-snapshot-20160226
* configure.host: Define _I386MACH_DISABLE_HW_INTERRUPTS on rdos.
Remove setting _I386MACH_ALLOW_HW_INTERRUPTS anywhere else.
* libc/machine/i386/i386mach.h: Replace test for
_I386MACH_ALLOW_HW_INTERRUPTS with test for
!_I386MACH_DISABLE_HW_INTERRUPTS.
* libc/machine/x86_64/x86_64mach.h: Ditto.
* libc/sys/linux/machine/i386/i386mach.h: Ditto.
* libm/machine/i386/i386mach.h: Ditto.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libm/machine')
-rw-r--r-- | newlib/libm/machine/i386/i386mach.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/machine/i386/i386mach.h b/newlib/libm/machine/i386/i386mach.h index 23c32190d..403d24bfe 100644 --- a/newlib/libm/machine/i386/i386mach.h +++ b/newlib/libm/machine/i386/i386mach.h @@ -74,7 +74,7 @@ #define SOTYPE_FUNCTION(sym) #endif -#ifdef _I386MACH_ALLOW_HW_INTERRUPTS +#ifndef _I386MACH_DISABLE_HW_INTERRUPTS #define __CLI #define __STI #else |