On 7 May 2013 21:46, Dave Hansen <[email protected]> wrote:
>
> From: Dave Hansen <[email protected]>
>
> Several architectures have similar stack debugging config options.
> They all pretty much do the same thing, some with slightly
> differing help text.
>
> This patch changes the architectures to instead enable a Kconfig
> boolean, and then use that boolean in the generic Kconfig.debug
> to present the actual menu option.  This removes a bunch of
> duplication and adds consistency across arches.
>
> Signed-off-by: Dave Hansen <[email protected]>
> Reviewed-by: H. Peter Anvin <[email protected]>
> Reviewed-by: James Hogan <[email protected]>
> Acked-by: Chris Metcalf <[email protected]> [for tile]
> Signed-off-by: Dave Hansen <[email protected]>
> ---
>
>  linux.git-davehans/arch/blackfin/Kconfig       |    1 +
>  linux.git-davehans/arch/blackfin/Kconfig.debug |    7 -------
>  linux.git-davehans/arch/frv/Kconfig            |    1 +
>  linux.git-davehans/arch/frv/Kconfig.debug      |    4 ----
>  linux.git-davehans/arch/m32r/Kconfig           |    1 +
>  linux.git-davehans/arch/m32r/Kconfig.debug     |    7 -------
>  linux.git-davehans/arch/mips/Kconfig           |    1 +
>  linux.git-davehans/arch/mips/Kconfig.debug     |    9 ---------
>  linux.git-davehans/arch/mn10300/Kconfig        |    1 +
>  linux.git-davehans/arch/mn10300/Kconfig.debug  |    4 ----
>  linux.git-davehans/arch/powerpc/Kconfig        |    1 +
>  linux.git-davehans/arch/powerpc/Kconfig.debug  |    7 -------
>  linux.git-davehans/arch/tile/Kconfig           |    1 +
>  linux.git-davehans/arch/tile/Kconfig.debug     |    7 -------
>  linux.git-davehans/arch/x86/Kconfig            |    1 +
>  linux.git-davehans/arch/x86/Kconfig.debug      |   10 ----------
>  linux.git-davehans/lib/Kconfig.debug           |   21 +++++++++++++++++++++
>  17 files changed, 29 insertions(+), 55 deletions(-)

Now that metag, arc, and openrisc architectures are merged, maybe you
could convert them too?

Cheers
James
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to