]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
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 3e4737fa6cce71710982762cb80efab516033319..d537aa0ec414a2dc70b84580a0799096e601ee3c 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