dev-util/perf: Sync with Gentoo

It's from Gentoo commit 5986c3f9e460646d703ea15d6d51ba99f6cda59e.
This commit is contained in:
Flatcar Buildbot 2024-02-26 07:12:18 +00:00 committed by Krzesimir Nowak
parent fb5c2f0ee0
commit c1ad175dd1
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff --git a/tools/arch/ia64/include/asm/barrier.h b/tools/arch/ia64/include/asm/barrier.h
index 6fffe5682713..9753f11d79ad 100644
--- a/tools/arch/ia64/include/asm/barrier.h
+++ b/tools/arch/ia64/include/asm/barrier.h
@@ -14,6 +14,7 @@
#ifndef _TOOLS_LINUX_ASM_IA64_BARRIER_H
#define _TOOLS_LINUX_ASM_IA64_BARRIER_H
+#include <asm/intrinsics.h>
#include <linux/compiler.h>
/*

View File

@ -176,6 +176,7 @@ src_prepare() {
pushd "${S_K}" >/dev/null || die pushd "${S_K}" >/dev/null || die
eapply "${FILESDIR}"/perf-6.4-libtracefs.patch eapply "${FILESDIR}"/perf-6.4-libtracefs.patch
eapply "${FILESDIR}"/perf-6.6-ia64.patch
popd || die popd || die
# Drop some upstream too-developer-oriented flags and fix the # Drop some upstream too-developer-oriented flags and fix the