Explorar o código

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 %!s(int64=13) %!d(string=hai) anos
pai
achega
989e986f5b
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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