aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDave Young <hidave.darkstar@gmail.com>2010-03-10 18:24:07 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-12 18:53:10 -0500
commit15485a4682d1d3bfee2aa78b4b1a5d36f5746b64 (patch)
tree538857520760de1cf3575c8b5e4f73bab70557ff /kernel
parent5ed109103d73b0bafc92e860cead56725231384d (diff)
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')
-rw-r--r--kernel/sysctl.c7
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 @@
61#include <asm/stacktrace.h> 61#include <asm/stacktrace.h>
62#include <asm/io.h> 62#include <asm/io.h>
63#endif 63#endif
64#ifdef CONFIG_CHR_DEV_SG
65#include <scsi/sg.h>
66#endif
64 67
65 68
66#if defined(CONFIG_SYSCTL) 69#if defined(CONFIG_SYSCTL)
@@ -116,10 +119,6 @@ static int min_percpu_pagelist_fract = 8;
116 119
117static int ngroups_max = NGROUPS_MAX; 120static int ngroups_max = NGROUPS_MAX;
118 121
119#ifdef CONFIG_CHR_DEV_SG
120extern int sg_big_buff;
121#endif
122
123#ifdef CONFIG_SPARC 122#ifdef CONFIG_SPARC
124#include <asm/system.h> 123#include <asm/system.h>
125#endif 124#endif