diff options
Diffstat (limited to 'drivers/char/agp/frontend.c')
-rw-r--r-- | drivers/char/agp/frontend.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/char/agp/frontend.c b/drivers/char/agp/frontend.c index 963eff28fa00..a96f3197e60f 100644 --- a/drivers/char/agp/frontend.c +++ b/drivers/char/agp/frontend.c | |||
@@ -396,7 +396,7 @@ static int agp_remove_controller(struct agp_controller *controller) | |||
396 | 396 | ||
397 | if (agp_fe.current_controller == controller) { | 397 | if (agp_fe.current_controller == controller) { |
398 | agp_fe.current_controller = NULL; | 398 | agp_fe.current_controller = NULL; |
399 | agp_fe.backend_acquired = FALSE; | 399 | agp_fe.backend_acquired = false; |
400 | agp_backend_release(agp_bridge); | 400 | agp_backend_release(agp_bridge); |
401 | } | 401 | } |
402 | kfree(controller); | 402 | kfree(controller); |
@@ -444,7 +444,7 @@ static void agp_controller_release_current(struct agp_controller *controller, | |||
444 | } | 444 | } |
445 | 445 | ||
446 | agp_fe.current_controller = NULL; | 446 | agp_fe.current_controller = NULL; |
447 | agp_fe.used_by_controller = FALSE; | 447 | agp_fe.used_by_controller = false; |
448 | agp_backend_release(agp_bridge); | 448 | agp_backend_release(agp_bridge); |
449 | } | 449 | } |
450 | 450 | ||
@@ -574,7 +574,7 @@ static int agp_mmap(struct file *file, struct vm_area_struct *vma) | |||
574 | 574 | ||
575 | mutex_lock(&(agp_fe.agp_mutex)); | 575 | mutex_lock(&(agp_fe.agp_mutex)); |
576 | 576 | ||
577 | if (agp_fe.backend_acquired != TRUE) | 577 | if (agp_fe.backend_acquired != true) |
578 | goto out_eperm; | 578 | goto out_eperm; |
579 | 579 | ||
580 | if (!(test_bit(AGP_FF_IS_VALID, &priv->access_flags))) | 580 | if (!(test_bit(AGP_FF_IS_VALID, &priv->access_flags))) |
@@ -772,7 +772,7 @@ int agpioc_acquire_wrap(struct agp_file_private *priv) | |||
772 | 772 | ||
773 | atomic_inc(&agp_bridge->agp_in_use); | 773 | atomic_inc(&agp_bridge->agp_in_use); |
774 | 774 | ||
775 | agp_fe.backend_acquired = TRUE; | 775 | agp_fe.backend_acquired = true; |
776 | 776 | ||
777 | controller = agp_find_controller_by_pid(priv->my_pid); | 777 | controller = agp_find_controller_by_pid(priv->my_pid); |
778 | 778 | ||
@@ -782,7 +782,7 @@ int agpioc_acquire_wrap(struct agp_file_private *priv) | |||
782 | controller = agp_create_controller(priv->my_pid); | 782 | controller = agp_create_controller(priv->my_pid); |
783 | 783 | ||
784 | if (controller == NULL) { | 784 | if (controller == NULL) { |
785 | agp_fe.backend_acquired = FALSE; | 785 | agp_fe.backend_acquired = false; |
786 | agp_backend_release(agp_bridge); | 786 | agp_backend_release(agp_bridge); |
787 | return -ENOMEM; | 787 | return -ENOMEM; |
788 | } | 788 | } |
@@ -985,7 +985,7 @@ static long agp_ioctl(struct file *file, | |||
985 | ret_val = -EINVAL; | 985 | ret_val = -EINVAL; |
986 | goto ioctl_out; | 986 | goto ioctl_out; |
987 | } | 987 | } |
988 | if ((agp_fe.backend_acquired != TRUE) && | 988 | if ((agp_fe.backend_acquired != true) && |
989 | (cmd != AGPIOC_ACQUIRE)) { | 989 | (cmd != AGPIOC_ACQUIRE)) { |
990 | ret_val = -EBUSY; | 990 | ret_val = -EBUSY; |
991 | goto ioctl_out; | 991 | goto ioctl_out; |