diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2018-12-18 17:29:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-03 12:35:53 +0000 |
commit | 86dabd1e3392a43ab24169bb6ff6f4948fb5947e (patch) | |
tree | e5750173d3024546c509f0b7a4959ce83416c5a5 /meta/recipes-devtools/btrfs-tools | |
parent | c5ffdcbe371014bde25f0ab3955d502fa854c1dc (diff) | |
download | poky-86dabd1e3392a43ab24169bb6ff6f4948fb5947e.tar.gz |
btrfs-tools: update to 4.19.1
(From OE-Core rev: 4ab782521e7e0a4dca0efd89679c89dc7e4165f6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/btrfs-tools')
-rw-r--r-- | meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-btrfs-progs-kernel-lib-bitops-Fix-big-endian-compila.patch | 55 | ||||
-rw-r--r-- | meta/recipes-devtools/btrfs-tools/btrfs-tools_4.19.1.bb (renamed from meta/recipes-devtools/btrfs-tools/btrfs-tools_4.19.bb) | 3 |
2 files changed, 1 insertions, 57 deletions
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-btrfs-progs-kernel-lib-bitops-Fix-big-endian-compila.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-btrfs-progs-kernel-lib-bitops-Fix-big-endian-compila.patch deleted file mode 100644 index ad430858c9..0000000000 --- a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-btrfs-progs-kernel-lib-bitops-Fix-big-endian-compila.patch +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | From 920c515478b441eaca31e33a18b95ceaa49ace19 Mon Sep 17 00:00:00 2001 | ||
2 | From: Rosen Penev <rosenp@gmail.com> | ||
3 | Date: Mon, 5 Nov 2018 11:06:41 -0800 | ||
4 | Subject: [PATCH] btrfs-progs: kernel-lib: bitops: Fix big endian compilation | ||
5 | |||
6 | Replaced bswap with _ variants bswap_32 etc. While it's a glibc | ||
7 | extension, all of the popular libc implementations (glibc, uClibc, musl, | ||
8 | BIONIC) seem to support it. | ||
9 | |||
10 | Added static inline to two functions to match little endian variants. This | ||
11 | fixes a linking error experienced when compiling on gcc 7.3.0 with LTO, | ||
12 | possibly a bug that was fixed later. | ||
13 | |||
14 | Upstream-Status: Backport [https://gitlab.com/kdave/btrfs-progs/commit/ed570e2df335063280c9d3affd8bb89919a1ac0d.patch] | ||
15 | Reviewed-by: Nikolay Borisov <nborisov@suse.com> | ||
16 | Signed-off-by: Rosen Penev <rosenp@gmail.com> | ||
17 | Signed-off-by: David Sterba <dsterba@suse.com> | ||
18 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
19 | --- | ||
20 | kernel-lib/bitops.h | 8 ++++---- | ||
21 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
22 | |||
23 | diff --git a/kernel-lib/bitops.h b/kernel-lib/bitops.h | ||
24 | index b1fd6f53..2c51a265 100644 | ||
25 | --- a/kernel-lib/bitops.h | ||
26 | +++ b/kernel-lib/bitops.h | ||
27 | @@ -178,9 +178,9 @@ static inline unsigned long find_next_zero_bit(const unsigned long *addr, | ||
28 | static inline unsigned long ext2_swab(const unsigned long y) | ||
29 | { | ||
30 | #if BITS_PER_LONG == 64 | ||
31 | - return (unsigned long) bswap64((u64) y); | ||
32 | + return (unsigned long) bswap_64((u64) y); | ||
33 | #elif BITS_PER_LONG == 32 | ||
34 | - return (unsigned long) bswap32((u32) y); | ||
35 | + return (unsigned long) bswap_32((u32) y); | ||
36 | #else | ||
37 | #error BITS_PER_LONG not defined | ||
38 | #endif | ||
39 | @@ -218,14 +218,14 @@ static inline unsigned long _find_next_bit_le(const unsigned long *addr1, | ||
40 | return min(start + __ffs(ext2_swab(tmp)), nbits); | ||
41 | } | ||
42 | |||
43 | -unsigned long find_next_zero_bit_le(const void *addr, unsigned long size, | ||
44 | +static inline unsigned long find_next_zero_bit_le(const void *addr, unsigned long size, | ||
45 | unsigned long offset) | ||
46 | { | ||
47 | return _find_next_bit_le(addr, NULL, size, offset, ~0UL); | ||
48 | } | ||
49 | |||
50 | |||
51 | -unsigned long find_next_bit_le(const void *addr, unsigned long size, | ||
52 | +static inline unsigned long find_next_bit_le(const void *addr, unsigned long size, | ||
53 | unsigned long offset) | ||
54 | { | ||
55 | return _find_next_bit_le(addr, NULL, size, offset, 0UL); | ||
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.19.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.19.1.bb index f5e0f77c8a..2f59a0c13e 100644 --- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.19.bb +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.19.1.bb | |||
@@ -14,12 +14,11 @@ DEPENDS = "util-linux attr e2fsprogs lzo acl python3-setuptools-native" | |||
14 | DEPENDS_append_class-target = " udev" | 14 | DEPENDS_append_class-target = " udev" |
15 | RDEPENDS_${PN} = "libgcc" | 15 | RDEPENDS_${PN} = "libgcc" |
16 | 16 | ||
17 | SRCREV = "d72d913291683188ddf5d758db02f1bc3b05d2f7" | 17 | SRCREV = "167651ca29ec522cff0d81b52dc0cc4ae4e3f535" |
18 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \ | 18 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \ |
19 | file://0001-Makefile-build-mktables-using-native-gcc.patch \ | 19 | file://0001-Makefile-build-mktables-using-native-gcc.patch \ |
20 | file://0001-Add-LDFLAGS-when-building-libbtrfsutil.so.patch \ | 20 | file://0001-Add-LDFLAGS-when-building-libbtrfsutil.so.patch \ |
21 | file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \ | 21 | file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \ |
22 | file://0001-btrfs-progs-kernel-lib-bitops-Fix-big-endian-compila.patch \ | ||
23 | " | 22 | " |
24 | 23 | ||
25 | inherit autotools-brokensep pkgconfig manpages distutils3-base | 24 | inherit autotools-brokensep pkgconfig manpages distutils3-base |