Search Linux Wireless

[PATCH] compat: fix build on kernels that already have backported codel support

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

 



Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx>
---
 include/linux/compat-3.5.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/linux/compat-3.5.h b/include/linux/compat-3.5.h
index c9ba6af..35fd14b 100644
--- a/include/linux/compat-3.5.h
+++ b/include/linux/compat-3.5.h
@@ -10,6 +10,8 @@
 
 #include <linux/pkt_sched.h>
 
+#ifndef TCA_CODEL_MAX
+
 /*
  * This backports:
  *
@@ -107,6 +109,7 @@ struct tc_fq_codel_xstats {
 	};
 };
 
+#endif /* TCA_CODEL_MAX */
 
 /* Backports tty_lock: Localise the lock */
 #define tty_lock(__tty) tty_lock()
-- 
1.7.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux