From cd3411088f6bb4393d79c50b5f7eef3f11a83435 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 10 Oct 2014 00:31:33 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../linux/files/b4860-hard_irq_disable-bug.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 recipes-kernel/linux/files/b4860-hard_irq_disable-bug.patch (limited to 'recipes-kernel/linux/files/b4860-hard_irq_disable-bug.patch') diff --git a/recipes-kernel/linux/files/b4860-hard_irq_disable-bug.patch b/recipes-kernel/linux/files/b4860-hard_irq_disable-bug.patch new file mode 100644 index 0000000..b8ef705 --- /dev/null +++ b/recipes-kernel/linux/files/b4860-hard_irq_disable-bug.patch @@ -0,0 +1,24 @@ +linux-qoriq-sdk: Repair a kernel compile issue due to a sintax error. + +The define __hard_irq_disable() was done using ";" character +into the comment so the if structure did not recognized the +"else" branch. + +Upstream-Status: Pending + +Signed-off-by: Alexandru Vaduva + +diff -ruN a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c +--- a/arch/powerpc/kernel/irq.c 2014-01-30 12:56:20.470918180 +0100 ++++ b/arch/powerpc/kernel/irq.c 2014-01-30 12:57:25.228109187 +0100 +@@ -227,8 +227,9 @@ + * common cases that we'll ignore for now), so we skip the + * (expensive) mtmsrd. + */ +- if (unlikely(irq_happened != PACA_IRQ_HARD_DIS)) ++ if (unlikely(irq_happened != PACA_IRQ_HARD_DIS)) { + __hard_irq_disable(); ++ } + #ifdef CONFIG_TRACE_IRQFLAGS + else { + /* -- cgit v1.2.3-54-g00ecf