diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-07 03:16:36 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-07 03:16:36 +0200 |
commit | c7915b5bd657e7e86caed1fe34e4fa2278769285 (patch) | |
tree | fe11ed95737414ed3ffcfac751e452c108e087b3 /ncr-int.h | |
parent | ec81bc91006efb7516ad16fd551a290cf634822b (diff) | |
download | cryptodev-linux-c7915b5bd657e7e86caed1fe34e4fa2278769285.tar.gz cryptodev-linux-c7915b5bd657e7e86caed1fe34e4fa2278769285.tar.xz cryptodev-linux-c7915b5bd657e7e86caed1fe34e4fa2278769285.zip |
Use a struct mutex for session_item_st.mem_mutex
Suggested by scripts/checkpatch.pl
Diffstat (limited to 'ncr-int.h')
-rw-r--r-- | ncr-int.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ #ifndef NCR_INT_H # define NCR_INT_H +#include <linux/mutex.h> #include "ncr.h" #include <asm/atomic.h> #include "cryptodev_int.h" @@ -48,7 +49,7 @@ struct session_item_st { struct page **pages; unsigned array_size; unsigned available_pages; - struct semaphore mem_mutex; /* down when the + struct mutex mem_mutex; /* down when the * values above are changed. */ |