pps: claim parallel port exclusively
commit4f542e3dd90a96ee0f8fcb8173cb4104f5f753e6
authorAlexander Gordeev <lasaine@lvk.cs.msu.su>
Tue, 25 Jan 2011 23:07:19 +0000 (25 15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 26 Jan 2011 00:50:00 +0000 (26 10:50 +1000)
tree1127d2abe1aa2a98ccf6d8a336f8dd68a285340e
parenta783ac4453405b579ab7732ba3c0efc07a4b7a61
pps: claim parallel port exclusively

Both pps_parport and pps_gen_parport are written in a way that they
can't share a port with any other driver.  This can result in locking up
the process that loads modules or even the whole kernel if the modules
are compiled in.  Use PARPORT_FLAG_EXCL to indicate this.

Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
Cc: Alexander Gordeev <lasaine@lvk.cs.msu.su>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pps/clients/pps_parport.c
drivers/pps/generators/pps_gen_parport.c