Change all references to "__INTEL__" to "__i386__".
They are functionally identical, but the former is a BeOS/Haiku-specfic macro that we include in the compiler specs, and the latter is defined by GCC.
This commit is contained in:
@@ -549,7 +549,7 @@ extern void _kern_clear_caches(void *address, size_t length,
|
||||
extern bool _kern_cpu_enabled(int32 cpu);
|
||||
extern status_t _kern_set_cpu_enabled(int32 cpu, bool enabled);
|
||||
|
||||
#if defined(__INTEL__) || defined(__x86_64__)
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
// our only x86 only syscall
|
||||
extern status_t _kern_get_cpuid(cpuid_info *info, uint32 eax, uint32 cpu);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user