The patch titled sysctl extern cleanup: sg has been removed from the -mm tree. Its filename was sysctl-extern-cleanup-sg.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: sysctl extern cleanup: sg From: Dave Young <hidave.darkstar@xxxxxxxxx> 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@xxxxxxxxx> Acked-by: Doug Gilbert <dgilbert@xxxxxxxxxxxx> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/scsi/sg.h | 3 +++ kernel/sysctl.c | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff -puN include/scsi/sg.h~sysctl-extern-cleanup-sg include/scsi/sg.h --- a/include/scsi/sg.h~sysctl-extern-cleanup-sg +++ a/include/scsi/sg.h @@ -70,6 +70,9 @@ Major new features in SG 3.x driver (cf (for the lk 2.2 series). */ +#ifdef __KERNEL__ +extern int sg_big_buff; /* for sysctl */ +#endif /* New interface introduced in the 3.x SG drivers follows */ diff -puN kernel/sysctl.c~sysctl-extern-cleanup-sg kernel/sysctl.c --- a/kernel/sysctl.c~sysctl-extern-cleanup-sg +++ a/kernel/sysctl.c @@ -69,6 +69,9 @@ #include <asm/stacktrace.h> #include <asm/io.h> #endif +#ifdef CONFIG_CHR_DEV_SG +#include <scsi/sg.h> +#endif #if defined(CONFIG_SYSCTL) @@ -111,10 +114,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 _ Patches currently in -mm which might be from hidave.darkstar@xxxxxxxxx are origin.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html