diff options
-rw-r--r-- | meta-oe/recipes-benchmark/fio/files/0001-arch-arm-Consider-armv7ve-arch-as-well.patch | 28 | ||||
-rw-r--r-- | meta-oe/recipes-benchmark/fio/fio_3.16.bb | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/fio/files/0001-arch-arm-Consider-armv7ve-arch-as-well.patch b/meta-oe/recipes-benchmark/fio/files/0001-arch-arm-Consider-armv7ve-arch-as-well.patch new file mode 100644 index 0000000000..983a76fb6d --- /dev/null +++ b/meta-oe/recipes-benchmark/fio/files/0001-arch-arm-Consider-armv7ve-arch-as-well.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 2af58909cd9f2862d1dc07836e201361a2cd8d5d Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 5 Oct 2019 08:53:22 -0700 | ||
4 | Subject: [PATCH] arch-arm: Consider armv7ve arch as well | ||
5 | |||
6 | Upstream-Status: Submitted [] | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | arch/arch-arm.h | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/arch/arch-arm.h b/arch/arch-arm.h | ||
14 | index 78cb2ebe..4f722967 100644 | ||
15 | --- a/arch/arch-arm.h | ||
16 | +++ b/arch/arch-arm.h | ||
17 | @@ -11,7 +11,7 @@ | ||
18 | #define nop __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t") | ||
19 | #define read_barrier() __asm__ __volatile__ ("" : : : "memory") | ||
20 | #define write_barrier() __asm__ __volatile__ ("" : : : "memory") | ||
21 | -#elif defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_8A__) | ||
22 | +#elif defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_8A__) || defined(__ARM_ARCH_7VE__) | ||
23 | #define nop __asm__ __volatile__ ("nop") | ||
24 | #define read_barrier() __sync_synchronize() | ||
25 | #define write_barrier() __sync_synchronize() | ||
26 | -- | ||
27 | 2.23.0 | ||
28 | |||
diff --git a/meta-oe/recipes-benchmark/fio/fio_3.16.bb b/meta-oe/recipes-benchmark/fio/fio_3.16.bb index 0db4a2e878..adab618780 100644 --- a/meta-oe/recipes-benchmark/fio/fio_3.16.bb +++ b/meta-oe/recipes-benchmark/fio/fio_3.16.bb | |||
@@ -24,6 +24,7 @@ PACKAGECONFIG[numa] = ",--disable-numa,numactl" | |||
24 | SRCREV = "92f75708b530989fdb13b50be6604f44b80d038d" | 24 | SRCREV = "92f75708b530989fdb13b50be6604f44b80d038d" |
25 | SRC_URI = "git://git.kernel.dk/fio.git \ | 25 | SRC_URI = "git://git.kernel.dk/fio.git \ |
26 | file://0001-update-the-interpreter-paths.patch \ | 26 | file://0001-update-the-interpreter-paths.patch \ |
27 | file://0001-arch-arm-Consider-armv7ve-arch-as-well.patch \ | ||
27 | " | 28 | " |
28 | 29 | ||
29 | S = "${WORKDIR}/git" | 30 | S = "${WORKDIR}/git" |