bsdacct: make check timer accept a bsd_acct_struct argument
authorPavel Emelyanov <xemul@openvz.org>
Fri, 25 Jul 2008 08:48:44 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:46 +0000 (10:53 -0700)
commite59a04a7aa5ce2483470aee4f2eb79ba6b9afe8b
tree0cd0b592198740572b3b75c23a91d17a7f8d730b
parent1c552858ac2b1732a99d234d46b98098baef41ff
bsdacct: make check timer accept a bsd_acct_struct argument

We're going to have many bsd_acct_struct instances, not just one, so the
timer (currently working with a global one) has to know which one to work
with.

Use a handy setup_timer macro for it (thanks to Oleg for one).

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/acct.c