summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorakpm@osdl.org <akpm@osdl.org>2006-01-13 15:51:02 -0800
committerDave Jones <davej@redhat.com>2006-01-16 20:53:46 -0800
commit168678233ca45af3f74fef60c4265fa5dd217e29 (patch)
tree55c8c3bc9ac8bdc7b1a64c6a855b666b3fdad5e7 /include
parent5dda4986752b531d89d49c218682e42c63ef1d61 (diff)
downloadop-kernel-dev-168678233ca45af3f74fef60c4265fa5dd217e29.zip
op-kernel-dev-168678233ca45af3f74fef60c4265fa5dd217e29.tar.gz
[AGPGART] Semaphore to Mutex conversion.
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/agpgart.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/agpgart.h b/include/linux/agpgart.h
index 17a17c5..6d59c8e 100644
--- a/include/linux/agpgart.h
+++ b/include/linux/agpgart.h
@@ -111,6 +111,7 @@ typedef struct _agp_unbind {
} agp_unbind;
#else /* __KERNEL__ */
+#include <linux/mutex.h>
#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;
OpenPOWER on IntegriCloud