summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/audit_write.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/audit_write.h')
-rw-r--r--include/asm-generic/audit_write.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/audit_write.h b/include/asm-generic/audit_write.h
index f10d367fb2a..c5f1c2c920e 100644
--- a/include/asm-generic/audit_write.h
+++ b/include/asm-generic/audit_write.h
@@ -1,6 +1,8 @@
#include <asm-generic/audit_dir_write.h>
__NR_acct,
+#ifdef __NR_swapon
__NR_swapon,
+#endif
__NR_quotactl,
__NR_truncate,
#ifdef __NR_truncate64