Author: nbd Date: 2016-01-02 15:48:11 +0100 (Sat, 02 Jan 2016) New Revision: 48069
Added: trunk/target/linux/ramips/patches-4.3/0903-mt7621-fix-gic-perfcounter.patch Log: ramips: fix performance counters on mt7621 Signed-off-by: Felix Fietkau <[email protected]> Added: trunk/target/linux/ramips/patches-4.3/0903-mt7621-fix-gic-perfcounter.patch =================================================================== --- trunk/target/linux/ramips/patches-4.3/0903-mt7621-fix-gic-perfcounter.patch (rev 0) +++ trunk/target/linux/ramips/patches-4.3/0903-mt7621-fix-gic-perfcounter.patch 2016-01-02 14:48:11 UTC (rev 48069) @@ -0,0 +1,16 @@ +--- a/arch/mips/ralink/irq-gic.c ++++ b/arch/mips/ralink/irq-gic.c +@@ -2,6 +2,13 @@ + + #include <linux/of.h> + #include <linux/irqchip.h> ++#include <linux/irqchip/mips-gic.h> ++ ++int get_c0_perfcount_int(void) ++{ ++ return gic_get_c0_perfcount_int(); ++} ++EXPORT_SYMBOL_GPL(get_c0_perfcount_int); + + void __init + arch_init_irq(void) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
