Eric Dumazet [off-list ref] wrote:
quoted hunk ↗ jump to hunk
-#ifdef CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE
-static __always_inline
-#else
-static inline
-#endif
+static inline_for_performance
..
quoted hunk ↗ jump to hunk
-#ifdef CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE
-static __always_inline
-#else
-static inline
-#endif
+static inline_for_performance
..
quoted hunk ↗ jump to hunk
+#ifdef CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE
+#define inline_for_performance __always_inline
+#else
+#define inline_for_performance
+#endif
Should that read
#else
+#define inline_for_performance inline
instead?