summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-03-06 11:08:06 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-03-06 11:08:06 -0800
commitb8155fe1b2963ab2c53140929eb2362afcb9ccfe (patch)
tree5e63f57ce23f68094676205059bb53df4b7b5ec3 /drivers/misc
parent7addb7fa1085e29398c2aef43f0b98c3c4b7e749 (diff)
parent37c5e942bb2eedd98c1cd1fa1f94d79f6b830c38 (diff)
downloadlinux-stable-b8155fe1b2963ab2c53140929eb2362afcb9ccfe.tar.gz
linux-stable-b8155fe1b2963ab2c53140929eb2362afcb9ccfe.tar.bz2
linux-stable-b8155fe1b2963ab2c53140929eb2362afcb9ccfe.zip
Merge tag 'powerpc-4.5-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc fixes from Michael Ellerman: - cxl: Fix PSL timebase synchronization detection from Frederic Barrat - Fix oops when destroying hw_breakpoint event from Ravi Bangoria - Avoid lbarx on e5500 from Scott Wood * tag 'powerpc-4.5-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: powerpc/fsl-book3e: Avoid lbarx on e5500 powerpc/hw_breakpoint: Fix oops when destroying hw_breakpoint event cxl: Fix PSL timebase synchronization detection
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/cxl/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c
index 4c1903f781fc..0c6c17a1c59e 100644
--- a/drivers/misc/cxl/pci.c
+++ b/drivers/misc/cxl/pci.c
@@ -415,7 +415,7 @@ static int cxl_setup_psl_timebase(struct cxl *adapter, struct pci_dev *dev)
delta = mftb() - psl_tb;
if (delta < 0)
delta = -delta;
- } while (cputime_to_usecs(delta) > 16);
+ } while (tb_to_ns(delta) > 16000);
return 0;
}