X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Flinux%2Facct.h;h=0496d1f0995212b4c8ae873ac5e7159fcab318cb;hb=ccaa36f73544163ef6e15eb29a620130755f6001;hp=93c5b3cdf9519a34d73f6e4eec697b3b0836b395;hpb=2ecc26b87a2b3e8650d3c7fe3fc85a8c73d5560d;p=~andy%2Flinux diff --git a/include/linux/acct.h b/include/linux/acct.h index 93c5b3cdf95..0496d1f0995 100644 --- a/include/linux/acct.h +++ b/include/linux/acct.h @@ -16,6 +16,7 @@ #define _LINUX_ACCT_H #include + #include #include @@ -114,22 +115,21 @@ struct acct_v3 #ifdef __KERNEL__ -#include #ifdef CONFIG_BSD_PROCESS_ACCT struct vfsmount; struct super_block; extern void acct_auto_close_mnt(struct vfsmount *m); extern void acct_auto_close(struct super_block *sb); -extern void acct_process(long exitcode); -extern void acct_update_integrals(struct task_struct *tsk); -extern void acct_clear_integrals(struct task_struct *tsk); +extern void acct_init_pacct(struct pacct_struct *pacct); +extern void acct_collect(long exitcode, int group_dead); +extern void acct_process(void); #else #define acct_auto_close_mnt(x) do { } while (0) #define acct_auto_close(x) do { } while (0) -#define acct_process(x) do { } while (0) -#define acct_update_integrals(x) do { } while (0) -#define acct_clear_integrals(task) do { } while (0) +#define acct_init_pacct(x) do { } while (0) +#define acct_collect(x,y) do { } while (0) +#define acct_process() do { } while (0) #endif /* @@ -163,6 +163,7 @@ typedef struct acct acct_t; #endif /* __KERNEL */ #ifdef __KERNEL__ +#include /* * Yet another set of HZ to *HZ helper functions. * See for the original.