Re: [PATCH] xtensa: Remove unused CONFIG XTENSA_ISS_NETWORK and XTENSA_UNALIGNED_USER

From: Johannes Weiner
Date: Sun Sep 27 2009 - 04:53:48 EST


On Sat, Sep 26, 2009 at 10:23:19PM +0530, Jaswinder Singh Rajput wrote:
>
> Removed unused CONFIG XTENSA_ISS_NETWORK and XTENSA_UNALIGNED_USER from Kconfig and defconfigs
>
> Reported-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx>
> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@xxxxxxxxx>
> Cc: Johannes Weiner <jw@xxxxxxxxx>
> Cc: Chris Zankel <chris@xxxxxxxxxx>
> ---
> arch/xtensa/Kconfig | 13 -------------
> arch/xtensa/configs/iss_defconfig | 2 --
> arch/xtensa/configs/s6105_defconfig | 2 --
> 3 files changed, 0 insertions(+), 17 deletions(-)
>
> diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
> index ebe228d..328d0dd 100644
> --- a/arch/xtensa/Kconfig
> +++ b/arch/xtensa/Kconfig
> @@ -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.

> - 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
> -

That one is of no use in the mainline kernel. I guess out-of-tree
code uses it.

> 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.
>
> diff --git a/arch/xtensa/configs/iss_defconfig b/arch/xtensa/configs/iss_defconfig
> index f198540..e6c1a29 100644
> --- a/arch/xtensa/configs/iss_defconfig
> +++ b/arch/xtensa/configs/iss_defconfig

No need to edit auto-generated files.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/