From: Tomohiro Kusumi Date: Wed, 27 Jul 2016 13:37:20 +0000 (+0900) Subject: Change arch_i386 to arch_x86 X-Git-Tag: fio-2.14~79 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=e12f4ede4656ace90e0b9022963dbc03b4ba1fe2;ds=sidebyside Change arch_i386 to arch_x86 fio_arch_strings[arch_i386] is "x86" (not "i386"), so change arch_i386 to arch_x86. Other than arch_i386, "i386" is only used in __i386__. Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- diff --git a/arch/arch-x86.h b/arch/arch-x86.h index d3b89856..457b44c1 100644 --- a/arch/arch-x86.h +++ b/arch/arch-x86.h @@ -12,7 +12,7 @@ static inline void do_cpuid(unsigned int *eax, unsigned int *ebx, #include "arch-x86-common.h" -#define FIO_ARCH (arch_i386) +#define FIO_ARCH (arch_x86) #define FIO_HUGE_PAGE 4194304 diff --git a/arch/arch.h b/arch/arch.h index 043e2838..00d247c4 100644 --- a/arch/arch.h +++ b/arch/arch.h @@ -3,7 +3,7 @@ enum { arch_x86_64 = 1, - arch_i386, + arch_x86, arch_ppc, arch_ia64, arch_s390, diff --git a/os/os-linux-syscall.h b/os/os-linux-syscall.h index 2de02f1e..c399b2fa 100644 --- a/os/os-linux-syscall.h +++ b/os/os-linux-syscall.h @@ -3,7 +3,7 @@ #include "../arch/arch.h" -/* Linux syscalls for i386 */ +/* Linux syscalls for x86 */ #if defined(ARCH_X86_H) #ifndef __NR_ioprio_set #define __NR_ioprio_set 289