Skip to content

Commit

Permalink
UAPI: Fix AHZ multiple inclusion when __KERNEL__ is removed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Howells committed Dec 13, 2011
1 parent a648bd0 commit 989e986
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/linux/acct.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 989e986

Please sign in to comment.