diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/machine/i386/i386mach.h | 2 | ||||
-rw-r--r-- | newlib/libc/machine/x86_64/x86_64mach.h | 2 | ||||
-rw-r--r-- | newlib/libc/sys/linux/machine/i386/i386mach.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/machine/i386/i386mach.h b/newlib/libc/machine/i386/i386mach.h index 23c32190d..403d24bfe 100644 --- a/newlib/libc/machine/i386/i386mach.h +++ b/newlib/libc/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 diff --git a/newlib/libc/machine/x86_64/x86_64mach.h b/newlib/libc/machine/x86_64/x86_64mach.h index 84cb2f85d..05e639200 100644 --- a/newlib/libc/machine/x86_64/x86_64mach.h +++ b/newlib/libc/machine/x86_64/x86_64mach.h @@ -104,7 +104,7 @@ #define SOTYPE_FUNCTION(sym) #endif -#ifdef _I386MACH_ALLOW_HW_INTERRUPTS +#ifndef _I386MACH_DISABLE_HW_INTERRUPTS #define __CLI #define __STI #else diff --git a/newlib/libc/sys/linux/machine/i386/i386mach.h b/newlib/libc/sys/linux/machine/i386/i386mach.h index 23c32190d..403d24bfe 100644 --- a/newlib/libc/sys/linux/machine/i386/i386mach.h +++ b/newlib/libc/sys/linux/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 |