vmscan: convert direct reclaim tracepoint to DEFINE_TRACE
[sfrench/cifs-2.6.git] / include / linux / compiler-gcc3.h
index 8005effc04f19097aa781caf016a666e492adcb1..b721129e0469f12decf2d764b421728e608e5e00 100644 (file)
 #define __must_check           __attribute__((warn_unused_result))
 #endif
 
+#ifdef CONFIG_GCOV_KERNEL
+# if __GNUC_MINOR__ < 4
+#   error "GCOV profiling support for gcc versions below 3.4 not included"
+# endif /* __GNUC_MINOR__ */
+#endif /* CONFIG_GCOV_KERNEL */
+
 /*
  * A trick to suppress uninitialized variable warning without generating any
  * code