mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
be8c765c7c
There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
31 lines
1016 B
Diff
31 lines
1016 B
Diff
Upstream-Status: Pending
|
|
|
|
implement support for musl/ppc64
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
--- a/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h
|
|
+++ b/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h
|
|
@@ -58,7 +58,7 @@ Copyright (c) 2006, 2015, Percona and/or
|
|
#include <stdint.h>
|
|
#include <sys/time.h>
|
|
#include <time.h>
|
|
-#if defined(__powerpc__)
|
|
+#if defined(__powerpc__) && defined(__GLIBC__)
|
|
#include <sys/platform/ppc.h>
|
|
#endif
|
|
|
|
@@ -131,8 +131,12 @@ static inline tokutime_t toku_time_now(v
|
|
uint64_t result;
|
|
__asm __volatile__("mrs %[rt], cntvct_el0" : [rt] "=r"(result));
|
|
return result;
|
|
-#elif defined(__powerpc__)
|
|
+#elif defined(__powerpc__) && defined(__GLIBC__)
|
|
return __ppc_get_timebase();
|
|
+#elif defined(__powerpc64__) || defined(__ppc64__)
|
|
+ uint64_t result;
|
|
+ asm volatile("mfspr %0, 268" : "=r"(result));
|
|
+ return result;
|
|
#elif defined(__s390x__)
|
|
uint64_t result;
|
|
asm volatile("stckf %0" : "=Q"(result) : : "cc");
|