diff --git a/0004-add-AArch64-support.patch b/0004-add-AArch64-support.patch deleted file mode 100644 index 6578180..0000000 --- a/0004-add-AArch64-support.patch +++ /dev/null @@ -1,46 +0,0 @@ -From b44c4130b30f451555509bae18293fb61b15a9cd Mon Sep 17 00:00:00 2001 -From: Marcin Juszkiewicz -Date: Mon, 16 Jun 2014 12:25:49 +0200 -Subject: [PATCH] add AArch64 support - ---- - configure.ac | 4 +++- - src/ticks_os.h | 2 +- - 2 files changed, 4 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 6584172..5a15361 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -30,6 +30,7 @@ case "$host" in - powerpc-*-freebsd*) TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc;; - powerpc*-*-rtems*) TARGET=POWERPC; TARGETDIR=powerpc;; - x86_64-*-*) TARGET=X86_64; TARGETDIR=x86;; -+ aarch64-*-*) TARGET=AARCH64; TARGETDIR=aarch64;; - esac - - AC_SUBST(AM_RUNTESTFLAGS) -@@ -46,6 +47,7 @@ AM_CONDITIONAL(ARM, test x$TARGET = xARM) - AM_CONDITIONAL(POWERPC_AIX, test x$TARGET = xPOWERPC_AIX) - AM_CONDITIONAL(POWERPC_DARWIN, test x$TARGET = xPOWERPC_DARWIN) - AM_CONDITIONAL(POWERPC_FREEBSD, test x$TARGET = xPOWERPC_FREEBSD) -+AM_CONDITIONAL(AARCH64, test x$TARGET = xAARCH64) - - AC_SUBST(TARGET) - AC_SUBST(TARGETDIR) -diff --git a/src/ticks_os.h b/src/ticks_os.h -index 493a6d4..085e52e 100644 ---- a/src/ticks_os.h -+++ b/src/ticks_os.h -@@ -89,7 +89,7 @@ inline ticks_t os_gettimeoftsc() - #else - register uint32_t upper_32, lower_32; - --#if defined(__arm__) -+#if defined(__arm__) || defined(__aarch64__) - // so the compiler will not complain. for - // arm compile, this inline is not used - // since no rdtsc supported on most arm processors --- -2.0.0 -