xtensa: Remove unused CONFIG XTENSA_ISS_NETWORK and XTENSA_UNALIGNED_USER
PATCH 1/1 xtensa: Remove unused CONFIG XTENSA_ISS_NETWORK and XTENSA_UNALIGNED_USER
Removed unused CONFIG XTENSA_ISS_NETWORK and XTENSA_UNALIGNED_USER from Kconfig and defconfigs
Reported-by Robert P. J. Day <[email protected]>
Signed-off-by Jaswinder Singh Rajput <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Chris Zankel <[email protected]>
--- arch/xtensa/Kconfig | 13 ------------- arch/xtensa/configs/iss_defconfig | 2 -- arch/xtensa/configs/s6105_defconfig | 2 -- 3 files changed, 0 insertions(+), 17 deletions(-)
arch/xtensa/Kconfig +0 -13
@@ -83,15 +83,6 @@ config XTENSA_VARIANT_S6000 select XTENSA_CALIBRATE_CCOUNT endchoice -config XTENSA_UNALIGNED_USER - bool "Unaligned memory access in use space" - help - The Xtensa architecture currently does not handle unaligned - memory accesses in hardware but through an exception handler. - Per default, unaligned memory accesses are disabled in user space. - - Say Y here to enable unaligned memory access in user space. - config PREEMPT bool "Preemptible Kernel" help
@@ -122,9 +113,6 @@ config XTENSA_CALIBRATE_CCOUNT config SERIAL_CONSOLE def_bool n -config XTENSA_ISS_NETWORK - def_bool n - menu "Bus options" config PCI
@@ -150,7 +138,6 @@ config XTENSA_PLATFORM_ISS bool "ISS" select XTENSA_CALIBRATE_CCOUNT select SERIAL_CONSOLE - select XTENSA_ISS_NETWORK help ISS is an acronym for Tensilica's Instruction Set Simulator.
arch/xtensa/configs/iss_defconfig +0 -2
@@ -55,7 +55,6 @@ CONFIG_CC_ALIGN_JUMPS=0 # CONFIG_XTENSA_VARIANT_FSF=y CONFIG_MMU=y -# CONFIG_XTENSA_UNALIGNED_USER is not set # CONFIG_PREEMPT is not set # CONFIG_MATH_EMULATION is not set # CONFIG_HIGHMEM is not set
@@ -72,7 +71,6 @@ CONFIG_XTENSA_CPU_CLOCK=10 CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE="console=ttyS0,38400 eth0=tuntap,,tap0 ip=192.168.168.5:192.168.168.1 root=nfs nfsroot=192.168.168.1:/opt/montavista/pro/devkit/xtensa/linux_be/target" CONFIG_SERIAL_CONSOLE=y -CONFIG_XTENSA_ISS_NETWORK=y # # Bus options
arch/xtensa/configs/s6105_defconfig +0 -2
@@ -111,13 +111,11 @@ CONFIG_VARIANT_IRQ_SWITCH=y # CONFIG_XTENSA_VARIANT_FSF is not set # CONFIG_XTENSA_VARIANT_DC232B is not set CONFIG_XTENSA_VARIANT_S6000=y -# CONFIG_XTENSA_UNALIGNED_USER is not set CONFIG_PREEMPT=y # CONFIG_MATH_EMULATION is not set # CONFIG_HIGHMEM is not set CONFIG_XTENSA_CALIBRATE_CCOUNT=y CONFIG_SERIAL_CONSOLE=y -# CONFIG_XTENSA_ISS_NETWORK is not set # # Bus options
Signature · 1 line
1.6.0.6
Quoted 18 lines · Jaswinder Singh Rajput
Removed unused CONFIG
XTENSA_ISS_NETWORKandXTENSA_UNALIGNED_USERfromKconfigand defconfigsReported-by Robert P. J. Day <[email protected]>Signed-off-by Jaswinder Singh Rajput <[email protected]>Cc Johannes Weiner <[email protected]>Cc Chris Zankel <[email protected]>--- arch/xtensa/Kconfig | 13 ------------- arch/xtensa/configs/iss_defconfig | 2 -- arch/xtensa/configs/s6105_defconfig | 2 -- 3 files changed, 0 insertions(+), 17 deletions(-)arch/xtensa/Kconfig +0
-0
arch/xtensa/Kconfig config XTENSA_VARIANT_S6000 · line 86
Quoted 4 lines
arch/xtensa/Kconfig +0
-1@@ -83,15 +83,6 @@ config XTENSA_VARIANT_S6000 select XTENSA_CALIBRATE_CCOUNT endchoice -config XTENSA_UNALIGNED_USER
The code refers to CONFIG_UNALIGNED_USER, so a rename would be better instead of removing it.
Quoted 12 lines
arch/xtensa/Kconfig +0
-8- bool "Unaligned memory access in use space" - help - The Xtensa architecture currently does not handle unaligned - memory accesses in hardware but through an exception handler. - Per default, unaligned memory accesses are disabled in user space. - - Say Y here to enable unaligned memory access in user space. - config PREEMPT bool "Preemptible Kernel" help
arch/xtensa/Kconfig config XTENSA_CALIBRATE_CCOUNT · line 127
Quoted 6 lines
arch/xtensa/Kconfig +0
-3@@ -122,9 +113,6 @@ config XTENSA_CALIBRATE_CCOUNT config SERIAL_CONSOLE def_bool n -config XTENSA_ISS_NETWORK - def_bool n -
That one is of no use in the mainline kernel. I guess out-of-tree code uses it.
arch/xtensa/configs/iss_defconfig
Quoted 15 lines
arch/xtensa/Kconfig +0
-1menu "Bus options" config PCI@@ -150,7 +138,6 @@ config XTENSA_PLATFORM_ISS bool "ISS" select XTENSA_CALIBRATE_CCOUNT select SERIAL_CONSOLE - select XTENSA_ISS_NETWORK help ISS is an acronym for Tensilica's Instruction Set Simulator.arch/xtensa/configs/iss_defconfig +0
-0
No need to edit auto-generated files.