]> git.baikalelectronics.ru Git - kernel.git/commit
agp: convert drivers/char/agp/frontend.c to use unlocked_ioctl
authorMathieu Segaud <mathieu.segaud@regala.cx>
Fri, 18 Apr 2008 20:29:38 +0000 (13:29 -0700)
committerDave Airlie <airlied@linux.ie>
Sat, 26 Apr 2008 08:43:20 +0000 (18:43 +1000)
commit033ba3eb7fb4341aacac7c4191c85af2ad7bb8db
tree3a36423ce815c31b72a062e674071ec2cd51c011
parent4e50d623fd79e0ddb6515c0eedde85df8e4d3995
agp: convert drivers/char/agp/frontend.c to use unlocked_ioctl

As of now, agp_compat_ioctl already runs without the BKL.  Mutual exclusion
is enforced by agp_fe.agp_mutex in agp_ioctl() and agp_compat_ioctl().
Apply the same locking rationale to the two functions allowing BKL cleanup.

Signed-off-by: Mathieu Segaud <mathieu.segaud@regala.cx>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/agp/frontend.c