]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix up a 4.9 mips patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2018 10:46:06 +0000 (12:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2018 10:46:06 +0000 (12:46 +0200)
queue-4.9/mips-use-async-ipis-for-arch_trigger_cpumask_backtrace.patch

index a3974de5a12d3c77dea9b4bfcafd2a10fe443c6d..80661bd2d3c8806207106c9c442518b1b68fed1d 100644 (file)
@@ -127,7 +127,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 -static void arch_dump_stack(void *info)
 -{
 -      struct pt_regs *regs;
-+static DEFINE_PER_CPU(call_single_data_t, backtrace_csd);
++static DEFINE_PER_CPU(call_single_data, backtrace_csd);
 +static struct cpumask backtrace_csd_busy;
  
 -      regs = get_irq_regs();
@@ -146,7 +146,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 +static void raise_backtrace(cpumask_t *mask)
  {
 -      long this_cpu = get_cpu();
-+      call_single_data_t *csd;
++      call_single_data *csd;
 +      int cpu;
  
 -      if (cpumask_test_cpu(this_cpu, mask) && !exclude_self)
@@ -156,7 +156,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 +               * If we previously sent an IPI to the target CPU & it hasn't
 +               * cleared its bit in the busy cpumask then it didn't handle
 +               * our previous IPI & it's not safe for us to reuse the
-+               * call_single_data_t.
++               * call_single_data.
 +               */
 +              if (cpumask_test_and_set_cpu(cpu, &backtrace_csd_busy)) {
 +                      pr_warn("Unable to send backtrace IPI to CPU%u - perhaps it hung?\n",