• Arnd Bergmann's avatar
    cris: autoconvert trivial BKL users · 0890b588
    Arnd Bergmann authored
    All uses of the big kernel lock in the cris architecture
    are for ioctl and open functions of character device drivers,
    which can be trivially converted to a per-driver mutex.
    
    Most of these are probably unnecessary, so it may make sense
    to audit them and eventually remove the extra mutex introduced
    by this patch.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Cc: Mikael Starvik <starvik@axis.com>
    Cc: Jesper Nilsson <jesper.nilsson@axis.com>
    Cc: linux-cris-kernel@axis.com
    0890b588
sync_serial.c 43.1 KB