[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



and after all that, I forgot the part of the patch that removes the now 
unnecessary parts of compat.h 

This is on top of the previous patch.

Signed-off-by: Vince Weaver <vincent.weaver@xxxxxxxxx>

diff --git a/include/compat.h b/include/compat.h
index bb2fae4..75af388 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -42,39 +42,6 @@
 #define F_GETOWN_EX 16
 #endif
 
-
-/* linux/perf_event.h */
-#ifndef PERF_COUNT_HW_STALLED_CYCLES_FRONTEND
-#define PERF_COUNT_HW_STALLED_CYCLES_FRONTEND 7
-#endif
-#ifndef PERF_COUNT_HW_STALLED_CYCLES_BACKEND
-#define PERF_COUNT_HW_STALLED_CYCLES_BACKEND 8
-#endif
-#ifndef PERF_COUNT_HW_REF_CPU_CYCLES
-#define PERF_COUNT_HW_REF_CPU_CYCLES 9
-#endif
-
-#ifndef PERF_COUNT_SW_ALIGNMENT_FAULTS
-#define PERF_COUNT_SW_ALIGNMENT_FAULTS 7
-#endif
-#ifndef PERF_COUNT_SW_EMULATION_FAULTS
-#define PERF_COUNT_SW_EMULATION_FAULTS 8
-#endif
-
-#ifndef PERF_TYPE_BREAKPOINT
-#define PERF_TYPE_BREAKPOINT 5
-#endif
-
-#ifndef PERF_FLAG_FD_NO_GROUP
-#define PERF_FLAG_FD_NO_GROUP   (1U << 0)
-#endif
-#ifndef PERF_FLAG_FD_OUTPUT
-#define PERF_FLAG_FD_OUTPUT     (1U << 1)
-#endif
-#ifndef PERF_FLAG_PID_CGROUP
-#define PERF_FLAG_PID_CGROUP    (1U << 2) /* pid=cgroup id, per-cpu mode only */
-#endif
-
 /* linux/hw_breakpoint.h */
 enum {
         HW_BREAKPOINT_LEN_1 = 1,
--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux