]> git.karo-electronics.de Git - linux-beck.git/commit
ntb: make DMA_OUT_RESOURCE_TO HZ independent
authorNicholas Mc Guire <hofrat@osadl.org>
Mon, 22 Aug 2016 16:51:36 +0000 (18:51 +0200)
committerJon Mason <jdmason@kudzu.us>
Sun, 13 Nov 2016 21:48:29 +0000 (16:48 -0500)
commitcdc08982a5f334cecc15d802464588115512cc36
treee3ace761f166c89620d7849e0c0ce6c0be9f2c3a
parentc0a88032ef8e6814d4dd84551e5f333c1de639b3
ntb: 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>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_perf.c