diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index 50aa88ded2544e41e4f99d2e96761f3126968a22..622949d9b86b3a9e34c9643c142cbdf5c0e8cb3d 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -198,11 +198,6 @@ static inline unsigned long long rdclock(void)
 	return ts.tv_sec * 1000000000ULL + ts.tv_nsec;
 }
 
-/*
- * Pick up some kernel type conventions:
- */
-#define asmlinkage
-
 extern bool test_attr__enabled;
 void test_attr__init(void);
 void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu,