[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1424306017-96797-1-git-send-email-david.ahern@oracle.com>
Date: Wed, 18 Feb 2015 19:33:37 -0500
From: David Ahern <david.ahern@...cle.com>
To: acme@...nel.org, linux-kernel@...r.kernel.org
Cc: David Ahern <david.ahern@...cle.com>,
Victor Kamensky <victor.kamensky@...aro.org>
Subject: [PATCH] perf: Define EM_AARCH64 for older OS
4886f2ca19f6f added an arm-64 check, but the EM_AARCH64 macro is not defined
in older releases (e.g., RHEL6). Define if it is not defined.
Signed-off-by: David Ahern <david.ahern@...cle.com>
Cc: Victor Kamensky <victor.kamensky@...aro.org>
---
tools/perf/util/symbol-elf.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c
index b02731a..ada1676 100644
--- a/tools/perf/util/symbol-elf.c
+++ b/tools/perf/util/symbol-elf.c
@@ -11,6 +11,11 @@
#include <symbol/kallsyms.h>
#include "debug.h"
+#ifndef EM_AARCH64
+#define EM_AARCH64 183 /* ARM 64 bit */
+#endif
+
+
#ifdef HAVE_CPLUS_DEMANGLE_SUPPORT
extern char *cplus_demangle(const char *, int);
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists