]> git.baikalelectronics.ru Git - kernel.git/commit
Use i8253.c lock for PC speaker on MIPS, too.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 2 Nov 2007 17:26:06 +0000 (17:26 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 3 Nov 2007 02:39:18 +0000 (19:39 -0700)
commitbf5b2c947522c6aa00a50e9f41b060a029ed800f
tree6e9ab675eb69329db5188783a11a76a826055531
parent794b71f59ce7537721fe415dbdb55eccd433b728
Use i8253.c lock for PC speaker on MIPS, too.

The Jazz machines have to use the PIT timer for dyntick and highresolution
kernels.  This may break because currently just like i386 used to do MIPS
uses two separate spinlocks in the actual PIT code and the PC speaker
code.  So switch to do it the same that x86 currently does PIT locking.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mips/kernel/i8253.c
drivers/input/misc/pcspkr.c
include/asm-mips/i8253.h