kernel: disable CONFIG_SG_POOL by default

CONFIG_SG_POOL symbol is selected only by CONFIG_SCSI, since the last
one is disabled by default then disable CONFIG_SG_POOL by default too.
And explicitly enable it only for platforms that use CONFIG_SCSI.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
This commit is contained in:
Sergey Ryazanov 2017-05-31 00:46:40 +03:00 committed by Felix Fietkau
parent 6a3d82a3fa
commit 68e7a2a0b7
25 changed files with 10 additions and 16 deletions

View file

@ -301,7 +301,6 @@ CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_FSL=y CONFIG_SERIAL_8250_FSL=y
CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SG_POOL is not set
CONFIG_SIMPLE_GPIO=y CONFIG_SIMPLE_GPIO=y
CONFIG_SPARSE_IRQ=y CONFIG_SPARSE_IRQ=y
CONFIG_SRCU=y CONFIG_SRCU=y

View file

@ -185,7 +185,6 @@ CONFIG_SERIAL_ARC=y
CONFIG_SERIAL_ARC_CONSOLE=y CONFIG_SERIAL_ARC_CONSOLE=y
CONFIG_SERIAL_ARC_NR_PORTS=1 CONFIG_SERIAL_ARC_NR_PORTS=1
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SG_POOL is not set
CONFIG_SRCU=y CONFIG_SRCU=y
CONFIG_STACKTRACE=y CONFIG_STACKTRACE=y
CONFIG_STMMAC_ETH=y CONFIG_STMMAC_ETH=y

View file

@ -198,7 +198,6 @@ CONFIG_SERIAL_ARC=y
CONFIG_SERIAL_ARC_CONSOLE=y CONFIG_SERIAL_ARC_CONSOLE=y
CONFIG_SERIAL_ARC_NR_PORTS=1 CONFIG_SERIAL_ARC_NR_PORTS=1
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SG_POOL is not set
CONFIG_SMP=y CONFIG_SMP=y
CONFIG_SRCU=y CONFIG_SRCU=y
CONFIG_STACKTRACE=y CONFIG_STACKTRACE=y

View file

@ -293,7 +293,6 @@ CONFIG_SERIAL_8250_FSL=y
# CONFIG_SERIAL_AMBA_PL010 is not set # CONFIG_SERIAL_AMBA_PL010 is not set
# CONFIG_SERIAL_AMBA_PL011 is not set # CONFIG_SERIAL_AMBA_PL011 is not set
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SG_POOL is not set
CONFIG_SMP=y CONFIG_SMP=y
CONFIG_SMP_ON_UP=y CONFIG_SMP_ON_UP=y
CONFIG_SPARSE_IRQ=y CONFIG_SPARSE_IRQ=y

View file

@ -342,6 +342,7 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SG_POOL=y
CONFIG_SPARSE_IRQ=y CONFIG_SPARSE_IRQ=y
# CONFIG_SQUASHFS is not set # CONFIG_SQUASHFS is not set
CONFIG_SRCU=y CONFIG_SRCU=y

View file

@ -370,6 +370,7 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SG_POOL=y
CONFIG_SMP=y CONFIG_SMP=y
CONFIG_SMP_ON_UP=y CONFIG_SMP_ON_UP=y
CONFIG_SPARSE_IRQ=y CONFIG_SPARSE_IRQ=y

View file

@ -388,6 +388,7 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SG_POOL=y
CONFIG_SMP=y CONFIG_SMP=y
CONFIG_SPARSEMEM=y CONFIG_SPARSEMEM=y
CONFIG_SPARSEMEM_EXTREME=y CONFIG_SPARSEMEM_EXTREME=y

View file

@ -260,6 +260,7 @@ CONFIG_SENSORS_AD7418=y
CONFIG_SERIAL_8250_FSL=y CONFIG_SERIAL_8250_FSL=y
CONFIG_SERIAL_8250_NR_UARTS=3 CONFIG_SERIAL_8250_NR_UARTS=3
CONFIG_SERIAL_8250_RUNTIME_UARTS=3 CONFIG_SERIAL_8250_RUNTIME_UARTS=3
CONFIG_SG_POOL=y
CONFIG_SMP=y CONFIG_SMP=y
CONFIG_SMP_ON_UP=y CONFIG_SMP_ON_UP=y
CONFIG_SPARSE_IRQ=y CONFIG_SPARSE_IRQ=y

View file

@ -3967,7 +3967,7 @@ CONFIG_SERIAL_EARLYCON=y
# CONFIG_SGI_IP28 is not set # CONFIG_SGI_IP28 is not set
# CONFIG_SGI_IP32 is not set # CONFIG_SGI_IP32 is not set
# CONFIG_SGI_PARTITION is not set # CONFIG_SGI_PARTITION is not set
CONFIG_SG_POOL=y # CONFIG_SG_POOL is not set
# CONFIG_SG_SPLIT is not set # CONFIG_SG_SPLIT is not set
CONFIG_SHMEM=y CONFIG_SHMEM=y
# CONFIG_SH_ETH is not set # CONFIG_SH_ETH is not set

View file

@ -425,6 +425,7 @@ CONFIG_SERIAL_8250_FSL=y
CONFIG_SERIAL_IMX=y CONFIG_SERIAL_IMX=y
CONFIG_SERIAL_IMX_CONSOLE=y CONFIG_SERIAL_IMX_CONSOLE=y
CONFIG_SERIAL_MCTRL_GPIO=y CONFIG_SERIAL_MCTRL_GPIO=y
CONFIG_SG_POOL=y
CONFIG_SMP=y CONFIG_SMP=y
CONFIG_SMP_ON_UP=y CONFIG_SMP_ON_UP=y
CONFIG_SOC_BUS=y CONFIG_SOC_BUS=y

View file

@ -447,7 +447,6 @@ CONFIG_SERIAL_8250_FSL=y
# CONFIG_SERIAL_AMBA_PL011 is not set # CONFIG_SERIAL_AMBA_PL011 is not set
CONFIG_SERIAL_MSM=y CONFIG_SERIAL_MSM=y
CONFIG_SERIAL_MSM_CONSOLE=y CONFIG_SERIAL_MSM_CONSOLE=y
# CONFIG_SG_POOL is not set
CONFIG_SMP=y CONFIG_SMP=y
CONFIG_SMP_ON_UP=y CONFIG_SMP_ON_UP=y
CONFIG_SPARSE_IRQ=y CONFIG_SPARSE_IRQ=y

View file

@ -183,7 +183,6 @@ CONFIG_SCHED_HRTICK=y
# CONFIG_SENSORS_LTQ_CPUTEMP is not set # CONFIG_SENSORS_LTQ_CPUTEMP is not set
# CONFIG_SERIAL_8250 is not set # CONFIG_SERIAL_8250 is not set
CONFIG_SERIAL_LANTIQ=y CONFIG_SERIAL_LANTIQ=y
# CONFIG_SG_POOL is not set
# CONFIG_SOC_AMAZON_SE is not set # CONFIG_SOC_AMAZON_SE is not set
# CONFIG_SOC_FALCON is not set # CONFIG_SOC_FALCON is not set
CONFIG_SOC_TYPE_XWAY=y CONFIG_SOC_TYPE_XWAY=y

View file

@ -397,7 +397,6 @@ CONFIG_SERIAL_8250_FSL=y
CONFIG_SERIAL_8250_MT6577=y CONFIG_SERIAL_8250_MT6577=y
CONFIG_SERIAL_8250_NR_UARTS=4 CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4 CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SG_POOL is not set
CONFIG_SMP=y CONFIG_SMP=y
# CONFIG_SMP_ON_UP is not set # CONFIG_SMP_ON_UP is not set
CONFIG_SPARSE_IRQ=y CONFIG_SPARSE_IRQ=y

View file

@ -315,7 +315,6 @@ CONFIG_SERIAL_8250_FSL=y
CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SERIAL_QE is not set # CONFIG_SERIAL_QE is not set
# CONFIG_SG_POOL is not set
CONFIG_SIMPLE_GPIO=y CONFIG_SIMPLE_GPIO=y
# CONFIG_SOCRATES is not set # CONFIG_SOCRATES is not set
CONFIG_SPARSE_IRQ=y CONFIG_SPARSE_IRQ=y

View file

@ -397,6 +397,7 @@ CONFIG_SERIAL_8250_DW=y
CONFIG_SERIAL_8250_FSL=y CONFIG_SERIAL_8250_FSL=y
CONFIG_SERIAL_MVEBU_CONSOLE=y CONFIG_SERIAL_MVEBU_CONSOLE=y
CONFIG_SERIAL_MVEBU_UART=y CONFIG_SERIAL_MVEBU_UART=y
CONFIG_SG_POOL=y
CONFIG_SFP=y CONFIG_SFP=y
CONFIG_SMP=y CONFIG_SMP=y
CONFIG_SMP_ON_UP=y CONFIG_SMP_ON_UP=y

View file

@ -245,6 +245,7 @@ CONFIG_SECCOMP=y
CONFIG_SECCOMP_FILTER=y CONFIG_SECCOMP_FILTER=y
CONFIG_SERIAL_8250_DW=y CONFIG_SERIAL_8250_DW=y
# CONFIG_SERIAL_8250_FSL is not set # CONFIG_SERIAL_8250_FSL is not set
CONFIG_SG_POOL=y
CONFIG_SMP=y CONFIG_SMP=y
CONFIG_SPARSEMEM=y CONFIG_SPARSEMEM=y
CONFIG_SPARSEMEM_STATIC=y CONFIG_SPARSEMEM_STATIC=y

View file

@ -284,6 +284,7 @@ CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SERIAL_8250_DW=y CONFIG_SERIAL_8250_DW=y
# CONFIG_SERIAL_8250_FSL is not set # CONFIG_SERIAL_8250_FSL is not set
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SG_POOL=y
CONFIG_SMP=y CONFIG_SMP=y
CONFIG_SMP_UP=y CONFIG_SMP_UP=y
CONFIG_SPI=y CONFIG_SPI=y

View file

@ -187,7 +187,6 @@ CONFIG_SCHED_HRTICK=y
# CONFIG_SERIAL_8250_FSL is not set # CONFIG_SERIAL_8250_FSL is not set
CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_8250_RT288X=y
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SG_POOL is not set
CONFIG_SOC_MT7620=y CONFIG_SOC_MT7620=y
# CONFIG_SOC_MT7621 is not set # CONFIG_SOC_MT7621 is not set
# CONFIG_SOC_RT288X is not set # CONFIG_SOC_RT288X is not set

View file

@ -241,7 +241,6 @@ CONFIG_SCHED_SMT=y
CONFIG_SERIAL_8250_NR_UARTS=3 CONFIG_SERIAL_8250_NR_UARTS=3
CONFIG_SERIAL_8250_RUNTIME_UARTS=3 CONFIG_SERIAL_8250_RUNTIME_UARTS=3
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SG_POOL is not set
CONFIG_SMP=y CONFIG_SMP=y
CONFIG_SMP_UP=y CONFIG_SMP_UP=y
# CONFIG_SOC_MT7620 is not set # CONFIG_SOC_MT7620 is not set

View file

@ -183,7 +183,6 @@ CONFIG_SCHED_HRTICK=y
CONFIG_SERIAL_8250_NR_UARTS=3 CONFIG_SERIAL_8250_NR_UARTS=3
CONFIG_SERIAL_8250_RUNTIME_UARTS=3 CONFIG_SERIAL_8250_RUNTIME_UARTS=3
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SG_POOL is not set
CONFIG_SOC_MT7620=y CONFIG_SOC_MT7620=y
# CONFIG_SOC_MT7621 is not set # CONFIG_SOC_MT7621 is not set
# CONFIG_SOC_RT288X is not set # CONFIG_SOC_RT288X is not set

View file

@ -183,7 +183,6 @@ CONFIG_SCHED_HRTICK=y
CONFIG_SERIAL_8250_NR_UARTS=3 CONFIG_SERIAL_8250_NR_UARTS=3
CONFIG_SERIAL_8250_RUNTIME_UARTS=3 CONFIG_SERIAL_8250_RUNTIME_UARTS=3
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SG_POOL is not set
CONFIG_SOC_MT7620=y CONFIG_SOC_MT7620=y
# CONFIG_SOC_MT7621 is not set # CONFIG_SOC_MT7621 is not set
# CONFIG_SOC_RT288X is not set # CONFIG_SOC_RT288X is not set

View file

@ -175,7 +175,6 @@ CONFIG_SCHED_HRTICK=y
# CONFIG_SERIAL_8250_FSL is not set # CONFIG_SERIAL_8250_FSL is not set
CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_8250_RT288X=y
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SG_POOL is not set
# CONFIG_SOC_MT7620 is not set # CONFIG_SOC_MT7620 is not set
# CONFIG_SOC_MT7621 is not set # CONFIG_SOC_MT7621 is not set
CONFIG_SOC_RT288X=y CONFIG_SOC_RT288X=y

View file

@ -172,7 +172,6 @@ CONFIG_SCHED_HRTICK=y
# CONFIG_SERIAL_8250_FSL is not set # CONFIG_SERIAL_8250_FSL is not set
CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_8250_RT288X=y
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SG_POOL is not set
# CONFIG_SOC_MT7620 is not set # CONFIG_SOC_MT7620 is not set
# CONFIG_SOC_MT7621 is not set # CONFIG_SOC_MT7621 is not set
# CONFIG_SOC_RT288X is not set # CONFIG_SOC_RT288X is not set

View file

@ -180,7 +180,6 @@ CONFIG_SCHED_HRTICK=y
# CONFIG_SERIAL_8250_FSL is not set # CONFIG_SERIAL_8250_FSL is not set
CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_8250_RT288X=y
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SG_POOL is not set
# CONFIG_SOC_MT7620 is not set # CONFIG_SOC_MT7620 is not set
# CONFIG_SOC_MT7621 is not set # CONFIG_SOC_MT7621 is not set
# CONFIG_SOC_RT288X is not set # CONFIG_SOC_RT288X is not set

View file

@ -386,6 +386,7 @@ CONFIG_SERIO=y
CONFIG_SERIO_I8042=y CONFIG_SERIO_I8042=y
CONFIG_SERIO_LIBPS2=y CONFIG_SERIO_LIBPS2=y
CONFIG_SERIO_SERPORT=y CONFIG_SERIO_SERPORT=y
CONFIG_SG_POOL=y
# CONFIG_SMSC37B787_WDT is not set # CONFIG_SMSC37B787_WDT is not set
# CONFIG_SMSC_SCH311X_WDT is not set # CONFIG_SMSC_SCH311X_WDT is not set
CONFIG_SPARSEMEM_STATIC=y CONFIG_SPARSEMEM_STATIC=y