summaryrefslogtreecommitdiff
path: root/curvetun_mgmt_servers.c
AgeCommit message (Expand)AuthorFilesLines
2013-07-11curvetun: renamed client, server, and management filesDaniel Borkmann1-0/+267
:04:47 +0000 commit14de3918eacfc624023775c319e85e6597514195 (patch) tree625f20f1d1031d5ddb1ce6f7a5c4be3ba5c0ecf4 parente3a49390ebefec6f7e3d447b5ba3ba253dd51145 (diff)
spi: imx: replace schedule() with cond_resched()
It's more rational that just do the schedule when necessary other than do it every time. Thus, it's better to replace schedule() with cond_resched() in fsl_lpspi_txfifo_empty(), which contributes to saving cpu time. Signed-off-by: Gao Pan <pandy.gao@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat
-rw-r--r--drivers/spi/spi-fsl-lpspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c