diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-03-08 02:51:38 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-03-20 14:08:55 -0500 |
commit | 5a0bbce58bb25bd756f7ec437319d6ed2201a18b (patch) | |
tree | d8b263248c3eaece9a1c906e02c0795794f480de /kernel/audit.h | |
parent | 4023e020807ea249ae83f0d1d851b4c7cf0afd8a (diff) |
[PATCH] sem2mutex: audit_netlink_sem
Semaphore to mutex conversion.
The conversion was generated via scripts, and the result was validated
automatically via a script as well.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/audit.h')
-rw-r--r-- | kernel/audit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/audit.h b/kernel/audit.h index 4b602cdcabef..bc5392076e2b 100644 --- a/kernel/audit.h +++ b/kernel/audit.h | |||
@@ -19,6 +19,7 @@ | |||
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <linux/mutex.h> | ||
22 | #include <linux/fs.h> | 23 | #include <linux/fs.h> |
23 | #include <linux/audit.h> | 24 | #include <linux/audit.h> |
24 | 25 | ||
@@ -84,4 +85,4 @@ extern void audit_send_reply(int pid, int seq, int type, | |||
84 | void *payload, int size); | 85 | void *payload, int size); |
85 | extern void audit_log_lost(const char *message); | 86 | extern void audit_log_lost(const char *message); |
86 | extern void audit_panic(const char *message); | 87 | extern void audit_panic(const char *message); |
87 | extern struct semaphore audit_netlink_sem; | 88 | extern struct mutex audit_netlink_mutex; |