Author: nbd Date: 2016-01-21 14:28:25 +0100 (Thu, 21 Jan 2016) New Revision: 48428
Added: trunk/target/linux/x86/patches-4.4/100-fix_cs5535_clockevt.patch Log: x86: fix kernel crash on geode devices (#21667) Signed-off-by: Felix Fietkau <[email protected]> Added: trunk/target/linux/x86/patches-4.4/100-fix_cs5535_clockevt.patch =================================================================== --- trunk/target/linux/x86/patches-4.4/100-fix_cs5535_clockevt.patch (rev 0) +++ trunk/target/linux/x86/patches-4.4/100-fix_cs5535_clockevt.patch 2016-01-21 13:28:25 UTC (rev 48428) @@ -0,0 +1,12 @@ +--- a/drivers/clocksource/cs5535-clockevt.c ++++ b/drivers/clocksource/cs5535-clockevt.c +@@ -129,7 +129,8 @@ static irqreturn_t mfgpt_tick(int irq, v + cs5535_mfgpt_write(cs5535_event_clock, MFGPT_REG_SETUP, + MFGPT_SETUP_CNTEN | MFGPT_SETUP_CMP2); + +- cs5535_clockevent.event_handler(&cs5535_clockevent); ++ if (cs5535_clockevent.event_handler) ++ cs5535_clockevent.event_handler(&cs5535_clockevent); + return IRQ_HANDLED; + } + _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
