• Arnd Bergmann's avatar
    hpet: kill BKL, add compat_ioctl · 54066a57
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Cc: Clemens Ladisch <clemens@ladisch.de>
    Cc: Bob Picco <bob.picco@hp.com>
    54066a57
hpet.c 23.2 KB