summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorDave Young <hidave.darkstar@gmail.com>2010-03-10 15:24:08 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-12 15:53:10 -0800
commitc55b7c3e82d0ad58f35a0785faaaf2f70b9b6cd3 (patch)
tree5672da5b62c6c8e0c806a6b235de5131f7b974c8 /kernel/sysctl.c
parent15485a4682d1d3bfee2aa78b4b1a5d36f5746b64 (diff)
downloadop-kernel-dev-c55b7c3e82d0ad58f35a0785faaaf2f70b9b6cd3.zip
op-kernel-dev-c55b7c3e82d0ad58f35a0785faaaf2f70b9b6cd3.tar.gz
sysctl extern cleanup: acct
Extern declarations in sysctl.c should be moved to their own header file, and then include them in relavant .c files. Move acct_parm extern declaration to linux/acct.h Signed-off-by: Dave Young <hidave.darkstar@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 5290c43..7635bb1 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -61,6 +61,9 @@
#include <asm/stacktrace.h>
#include <asm/io.h>
#endif
+#ifdef CONFIG_BSD_PROCESS_ACCT
+#include <linux/acct.h>
+#endif
#ifdef CONFIG_CHR_DEV_SG
#include <scsi/sg.h>
#endif
@@ -140,10 +143,6 @@ extern int sysctl_userprocess_debug;
extern int spin_retry;
#endif
-#ifdef CONFIG_BSD_PROCESS_ACCT
-extern int acct_parm[];
-#endif
-
#ifdef CONFIG_IA64
extern int no_unaligned_warning;
extern int unaligned_dump_stack;
OpenPOWER on IntegriCloud