lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 26 Oct 2009 11:38:29 GMT
From:	tip-bot for Michael Cree <>
Subject: [tip:perf/core] perf tools, Alpha: Add Alpha support to perf.h

Commit-ID:  fcd14b3203b538dca04a2b065c774c0b57863eec
Author:     Michael Cree <>
AuthorDate: Mon, 26 Oct 2009 21:32:06 +1300
Committer:  Ingo Molnar <>
CommitDate: Mon, 26 Oct 2009 09:45:41 +0100

perf tools, Alpha: Add Alpha support to perf.h

For the perf tool the patch implements an Alpha specific section
in the perf.h header file.

Signed-off-by: Michael Cree <>
Cc: Richard Henderson <>
Cc: Ivan Kokshaysky <>
Cc: Peter Zijlstra <>
Cc: Paul Mackerras <>
LKML-Reference: <>
Signed-off-by: Ingo Molnar <>
 tools/perf/perf.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index 8cc4623..216bdb2 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -47,6 +47,12 @@
 #define cpu_relax()	asm volatile("":::"memory")
+#ifdef __alpha__
+#include "../../arch/alpha/include/asm/unistd.h"
+#define rmb()		asm volatile("mb" ::: "memory")
+#define cpu_relax()	asm volatile("" ::: "memory")
 #include <time.h>
 #include <unistd.h>
 #include <sys/types.h>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists