rwlocks are slowly being deprecated because they typically do not provide the performance increase expected. Most of the ecfactory_list_lock acquiring is during setup and not in the hot path anyway, so we can just use the simpler spinlock semantics without the overhead of a semaphore or mutex. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9589 a0bf4364-ded3-4de4-8d8a-66a801d63aff