fio: Fix compilation under mpcore. 8555/head
authorRosen Penev <rosenp@gmail.com>
Mon, 1 Apr 2019 04:22:58 +0000 (21:22 -0700)
committerRosen Penev <rosenp@gmail.com>
Mon, 1 Apr 2019 04:23:40 +0000 (21:23 -0700)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/fio/Makefile
utils/fio/patches/010-mpcore.patch [new file with mode: 0644]

index d462156454a0b6fc1e4a619770a64a0fcd5280fb..5d8bdf2b23fba76eeb3ffa7430b56ed67efd9a52 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=fio
 PKG_VERSION:=3.13
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_URL:=http://brick.kernel.dk/snaps
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
diff --git a/utils/fio/patches/010-mpcore.patch b/utils/fio/patches/010-mpcore.patch
new file mode 100644 (file)
index 0000000..bc46d56
--- /dev/null
@@ -0,0 +1,28 @@
+From ec4b65d9c9180101807f598c9edecb462f54261a Mon Sep 17 00:00:00 2001
+From: Rosen Penev <rosenp@gmail.com>
+Date: Sun, 31 Mar 2019 21:19:03 -0700
+Subject: [PATCH] arch: fix build breakage on armv6 again
+
+6K was missing from the defines.
+
+Signed-off-by: Rosen Penev <rosenp@gmail.com>
+---
+ arch/arch-arm.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arch-arm.h b/arch/arch-arm.h
+index fc1c4844..78cb2ebe 100644
+--- a/arch/arch-arm.h
++++ b/arch/arch-arm.h
+@@ -7,7 +7,7 @@
+       || defined (__ARM_ARCH_5__) || defined (__ARM_ARCH_5T__) || defined (__ARM_ARCH_5E__)\
+       || defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__) \
+       || defined(__ARM_ARCH_6__)  || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) \
+-      || defined(__ARM_ARCH_6KZ__)
++      || defined(__ARM_ARCH_6KZ__) || defined(__ARM_ARCH_6K__)
+ #define nop             __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t")
+ #define read_barrier()        __asm__ __volatile__ ("" : : : "memory")
+ #define write_barrier()       __asm__ __volatile__ ("" : : : "memory")
+-- 
+2.17.1
+