]> git.baikalelectronics.ru Git - kernel.git/commit
ntb_transport: make DMA_OUT_RESOURCE_TO HZ independent
authorNicholas Mc Guire <hofrat@osadl.org>
Mon, 22 Aug 2016 16:51:35 +0000 (18:51 +0200)
committerJon Mason <jdmason@kudzu.us>
Sun, 13 Nov 2016 21:48:29 +0000 (16:48 -0500)
commit25908726806c26fb55e88d622e86bf4a5f55eef5
tree0c639ad65368e7f4f647b2bbcb7a1334a139ec98
parentd82cdd596f748276f604bf97b997cdd3a0454560
ntb_transport: make DMA_OUT_RESOURCE_TO HZ independent

schedule_timeout_* takes a timeout in jiffies but the code currently is
passing in a constant which makes this timeout HZ dependent, so pass it
through msecs_to_jiffies() to fix this up.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_transport.c