@@ -395,7 +395,7 @@ static int agp_remove_controller(struct agp_controller *controller)
395395
396396 if (agp_fe .current_controller == controller ) {
397397 agp_fe .current_controller = NULL ;
398- agp_fe .backend_acquired = FALSE ;
398+ agp_fe .backend_acquired = false ;
399399 agp_backend_release (agp_bridge );
400400 }
401401 kfree (controller );
@@ -443,7 +443,7 @@ static void agp_controller_release_current(struct agp_controller *controller,
443443 }
444444
445445 agp_fe .current_controller = NULL ;
446- agp_fe .used_by_controller = FALSE ;
446+ agp_fe .used_by_controller = false ;
447447 agp_backend_release (agp_bridge );
448448}
449449
@@ -573,7 +573,7 @@ static int agp_mmap(struct file *file, struct vm_area_struct *vma)
573573
574574 mutex_lock (& (agp_fe .agp_mutex ));
575575
576- if (agp_fe .backend_acquired != TRUE )
576+ if (agp_fe .backend_acquired != true )
577577 goto out_eperm ;
578578
579579 if (!(test_bit (AGP_FF_IS_VALID , & priv -> access_flags )))
@@ -768,7 +768,7 @@ int agpioc_acquire_wrap(struct agp_file_private *priv)
768768
769769 atomic_inc (& agp_bridge -> agp_in_use );
770770
771- agp_fe .backend_acquired = TRUE ;
771+ agp_fe .backend_acquired = true ;
772772
773773 controller = agp_find_controller_by_pid (priv -> my_pid );
774774
@@ -778,7 +778,7 @@ int agpioc_acquire_wrap(struct agp_file_private *priv)
778778 controller = agp_create_controller (priv -> my_pid );
779779
780780 if (controller == NULL ) {
781- agp_fe .backend_acquired = FALSE ;
781+ agp_fe .backend_acquired = false ;
782782 agp_backend_release (agp_bridge );
783783 return - ENOMEM ;
784784 }
@@ -981,7 +981,7 @@ static long agp_ioctl(struct file *file,
981981 ret_val = - EINVAL ;
982982 goto ioctl_out ;
983983 }
984- if ((agp_fe .backend_acquired != TRUE ) &&
984+ if ((agp_fe .backend_acquired != true ) &&
985985 (cmd != AGPIOC_ACQUIRE )) {
986986 ret_val = - EBUSY ;
987987 goto ioctl_out ;
0 commit comments