浏览代码

UAPI: Fix AHZ multiple inclusion when __KERNEL__ is removed

Fix AHZ multiple inclusion when __KERNEL__ is removed as part of the separation
of the userspace headers from the kernel headers.

Signed-off-by: David Howells <dhowells@redhat.com>
David Howells 13 年之前
父节点
当前提交
989e986f5b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      include/linux/acct.h

+ 3 - 0
include/linux/acct.h

@@ -146,6 +146,9 @@ extern void acct_exit_ns(struct pid_namespace *);
  *
  *
  */
  */
 
 
+#undef ACCT_VERSION
+#undef AHZ
+
 #ifdef CONFIG_BSD_PROCESS_ACCT_V3
 #ifdef CONFIG_BSD_PROCESS_ACCT_V3
 #define ACCT_VERSION	3
 #define ACCT_VERSION	3
 #define AHZ		100
 #define AHZ		100