[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200710144349.516fdeca@canb.auug.org.au>
Date: Fri, 10 Jul 2020 14:43:49 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>,
"H. Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>,
Mark Brown <broonie@...nel.org>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Marek Szyprowski <m.szyprowski@...sung.com>
Subject: linux-next: manual merge of the tip tree with the spi tree
Hi all,
Today's linux-next merge of the tip tree got a conflict in:
drivers/spi/spi.c
between commit:
60a883d119ab ("spi: use kthread_create_worker() helper")
from the spi tree and commit:
3070da33400c ("sched,spi: Convert to sched_set_fifo*()")
from the tip tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc drivers/spi/spi.c
index 1d7bba434225,5a4f0bfce474..000000000000
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@@ -1614,11 -1592,9 +1614,9 @@@ EXPORT_SYMBOL_GPL(spi_take_timestamp_po
*/
static void spi_set_thread_rt(struct spi_controller *ctlr)
{
- struct sched_param param = { .sched_priority = MAX_RT_PRIO / 2 };
-
dev_info(&ctlr->dev,
"will run message pump with realtime priority\n");
- sched_setscheduler(ctlr->kworker->task, SCHED_FIFO, ¶m);
- sched_set_fifo(ctlr->kworker_task);
++ sched_set_fifo(ctlr->kworker->task);
}
static int spi_init_queue(struct spi_controller *ctlr)
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists