]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hpet: kill BKL, add compat_ioctl
authorArnd Bergmann <arnd@arndb.de>
Mon, 22 Mar 2010 19:55:11 +0000 (20:55 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 15 Sep 2010 19:01:40 +0000 (21:01 +0200)
commit54066a57c584ee8ce767053116fc4943ed1168b5
treef5f4fbbd19e8e068df64f183fc1080ea0a489440
parent49553c2ef88749dd502687f4eb9c258bb10a4f44
hpet: kill BKL, add compat_ioctl

hpet uses the big kernel lock in its ioctl and open
functions. Replace this with a private mutex to be
sure. Since we're already touching the ioctl function,
add the compat_ioctl version as well -- all commands
except HPET_INFO are compatible and that one is easy
to add.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Clemens Ladisch <clemens@ladisch.de>
Cc: Bob Picco <bob.picco@hp.com>
drivers/char/hpet.c