MIPS: Lemote 2F: cs5536: mfgpt: use raw locks
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 13 May 2014 15:07:04 +0000 (17:07 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 28 May 2014 08:48:26 +0000 (10:48 +0200)
commitf02ffb199d3af57407a79075f3e0e6c0e8980b6c
tree6cfc60ce8a0b310debf7b3927951b5284722b1d0
parentbb6c0bd3fdb67c8a1fceea1d4700b9ee593309f9
MIPS: Lemote 2F: cs5536: mfgpt: use raw locks

The lock is taken in the raw irq path and therefore a rawlock should be
used instead of a normal spinlock.
While here I drop the export symbol on that variable since there are no
other users.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: linux-mips@linux-mips.org
Cc: Hua Yan <yanh@lemote.com>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Alex Smith <alex.smith@imgtec.com>
Cc: Hongliang Tao <taohl@lemote.com>
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/6936/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/common/cs5536/cs5536_mfgpt.c