]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit09aa356b5584090aab6810ec8002936d710cd4ac
tree3a36423ce815c31b72a062e674071ec2cd51c011
parent4ab92bcf773e7b9e1367897047d5fa4d151d9e90
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