]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/android/ion/ion_priv.h
staging: ion: Avoid using rt_mutexes directly
[~andy/linux] / drivers / staging / android / ion / ion_priv.h
index fc8a4c3cee5d53edb56b5702ee31c990e614660b..d98673981cc40cc83b70db1b5aa9a49a99b4ad35 100644 (file)
@@ -159,7 +159,7 @@ struct ion_heap {
        struct shrinker shrinker;
        struct list_head free_list;
        size_t free_list_size;
-       struct rt_mutex lock;
+       spinlock_t free_lock;
        wait_queue_head_t waitqueue;
        struct task_struct *task;
        int (*debug_show)(struct ion_heap *heap, struct seq_file *, void *);