lkml.org 
[lkml]   [2011]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 15/17] UAPI: Fix AHZ multiple inclusion when __KERNEL__ is removed
    Date
    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 | 3 +++
    1 files changed, 3 insertions(+), 0 deletions(-)

    diff --git a/include/linux/acct.h b/include/linux/acct.h
    index 3e4737f..d537aa0 100644
    --- a/include/linux/acct.h
    +++ b/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
    --
    1.7.7.4


    \
     
     \ /
      Last update: 2011-12-13 11:41    [W:2.703 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site