Fix build for x86_64
Apply same patch as i386
Change-Id: I490fc3e7ba361f96b2652083521bda91c7eab5c0
diff --git a/perf.h b/perf.h
index 4f770be..cbc2f5c 100644
--- a/perf.h
+++ b/perf.h
@@ -18,7 +18,13 @@
#endif
#if defined(__x86_64__)
+/* ANDROID_CHANGE_BEGIN */
+#if 0
#include "../../arch/x86/include/asm/unistd.h"
+#elif !defined(__APPLE__)
+#include <asm/unistd.h>
+#endif
+/* ANDROID_CHANGE_END */
#define rmb() asm volatile("lfence" ::: "memory")
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#endif