X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fagpgart.h;fp=include%2Flinux%2Fagpgart.h;h=6d59c8efe3be2a1be4b1bb559bb506c551d3c213;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=17a17c55a17f97c2da02e7b83f1ca367f7bc6d5e;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/include/linux/agpgart.h b/include/linux/agpgart.h index 17a17c55a..6d59c8efe 100644 --- a/include/linux/agpgart.h +++ b/include/linux/agpgart.h @@ -111,6 +111,7 @@ typedef struct _agp_unbind { } agp_unbind; #else /* __KERNEL__ */ +#include #define AGPGART_MINOR 175 @@ -201,7 +202,7 @@ struct agp_file_private { }; struct agp_front_data { - struct semaphore agp_mutex; + struct mutex agp_mutex; struct agp_controller *current_controller; struct agp_controller *controllers; struct agp_file_private *file_priv_list;