From 75fdf3ba01e9379f4301ccbaf3eeedf0923076f1 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Thu, 1 Nov 2018 18:03:00 +0100 Subject: x86: Add support for kernel 4.19 This adds initial support for kernel 4.19 to the x86 target. The patches and the kernel configurations were copied from kernel 4.14 and then refreshed. The legacy and the genode target will not support PAE any more because they use a CPU type which does not support PAE, the generic sub target still supports PAE. Signed-off-by: Hauke Mehrtens --- target/linux/x86/patches-4.19/100-fix_cs5535_clockevt.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/x86/patches-4.19/100-fix_cs5535_clockevt.patch (limited to 'target/linux/x86/patches-4.19/100-fix_cs5535_clockevt.patch') diff --git a/target/linux/x86/patches-4.19/100-fix_cs5535_clockevt.patch b/target/linux/x86/patches-4.19/100-fix_cs5535_clockevt.patch new file mode 100644 index 0000000000..c3a7fce9ce --- /dev/null +++ b/target/linux/x86/patches-4.19/100-fix_cs5535_clockevt.patch @@ -0,0 +1,12 @@ +--- a/drivers/clocksource/cs5535-clockevt.c ++++ b/drivers/clocksource/cs5535-clockevt.c +@@ -130,7 +130,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; + } + -- cgit v1.2.3