OSDN Git Service

UAPI: Fix AHZ multiple inclusion when __KERNEL__ is removed
authorDavid Howells <dhowells@redhat.com>
Tue, 13 Dec 2011 15:07:49 +0000 (15:07 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 13 Dec 2011 15:07:49 +0000 (15:07 +0000)
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>
include/linux/acct.h

index 3e4737f..d537aa0 100644 (file)
@@ -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