diff options
author | 2010-03-10 15:24:07 -0800 | |
---|---|---|
committer | 2010-03-12 15:53:10 -0800 | |
commit | 15485a4682d1d3bfee2aa78b4b1a5d36f5746b64 (patch) | |
tree | 538857520760de1cf3575c8b5e4f73bab70557ff /kernel/sysctl.c | |
parent | sysctl extern cleanup: module (diff) | |
download | linux-15485a4682d1d3bfee2aa78b4b1a5d36f5746b64.tar.gz linux-15485a4682d1d3bfee2aa78b4b1a5d36f5746b64.tar.bz2 linux-15485a4682d1d3bfee2aa78b4b1a5d36f5746b64.zip |
sysctl extern cleanup: sg
Extern declarations in sysctl.c should be moved to their own header file,
and then include them in relavant .c files.
Move sg_big_buff extern declaration to scsi/sg.h
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Acked-by: Doug Gilbert <dgilbert@interlog.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.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.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 44e9492368fd..5290c437f151 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -61,6 +61,9 @@ #include <asm/stacktrace.h> #include <asm/io.h> #endif +#ifdef CONFIG_CHR_DEV_SG +#include <scsi/sg.h> +#endif #if defined(CONFIG_SYSCTL) @@ -116,10 +119,6 @@ static int min_percpu_pagelist_fract = 8; static int ngroups_max = NGROUPS_MAX; -#ifdef CONFIG_CHR_DEV_SG -extern int sg_big_buff; -#endif - #ifdef CONFIG_SPARC #include <asm/system.h> #endif |