summaryrefslogtreecommitdiff
path: root/drivers/pps
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-04 17:36:23 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-04 17:53:38 -0800
commit95b90afec301f050f72740e8696f7cce8a37db5a (patch)
treebc98958028124b09037f3da11b395f0e6a3c1579 /drivers/pps
parent97e419a082461f8a3a0818834eb88ad41219a1da (diff)
downloadlinux-3.10-95b90afec301f050f72740e8696f7cce8a37db5a.tar.gz
linux-3.10-95b90afec301f050f72740e8696f7cce8a37db5a.tar.bz2
linux-3.10-95b90afec301f050f72740e8696f7cce8a37db5a.zip
pps: make pps_gen_parport depend on BROKEN
This driver causes hard lockups, when the active clock soure is jiffies. The reason is that it loops with interrupts disabled waiting for a timestamp to be reached by polling getnstimeofday(). Though with a jiffies clocksource, when that code runs on the same CPU which is responsible for updating jiffies, then we loop in circles for ever simply because the timer interrupt cannot update jiffies. So both UP and SMP can be affected. There is no easy fix for that problem so make it depend on BROKEN for now. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Alexander Gordeev <lasaine@lvk.cs.msu.su> Cc: Rodolfo Giometti <giometti@linux.it> Cc: john stultz <johnstul@us.ibm.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pps')
-rw-r--r--drivers/pps/generators/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pps/generators/Kconfig b/drivers/pps/generators/Kconfig
index f3a73dd7766..e4c4f3dc072 100644
--- a/drivers/pps/generators/Kconfig
+++ b/drivers/pps/generators/Kconfig
@@ -6,7 +6,7 @@ comment "PPS generators support"
config PPS_GENERATOR_PARPORT
tristate "Parallel port PPS signal generator"
- depends on PARPORT
+ depends on PARPORT && BROKEN
help
If you say yes here you get support for a PPS signal generator which
utilizes STROBE pin of a parallel port to send PPS signals. It uses