Browse Source

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 năm trước cách đây
mục cha
commit
989e986f5b
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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
 #define ACCT_VERSION	3
 #define AHZ		100