x86: move FIX_EARLYCON_MEM kconfig into x86
authorRob Herring <robh@kernel.org>
Fri, 18 Apr 2014 22:19:54 +0000 (17:19 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Apr 2014 23:32:26 +0000 (16:32 -0700)
In preparation to support FIX_EARLYCON_MEM on other arches, make the
option per arch.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/Kconfig
drivers/tty/serial/8250/Kconfig

index 25d2c6f7325e8d64133100d651661af713f6563a..0fb6cfd50e75c8c9e1736c47e22b94e0fe0d6e33 100644 (file)
@@ -261,6 +261,9 @@ config ARCH_HWEIGHT_CFLAGS
 config ARCH_SUPPORTS_UPROBES
        def_bool y
 
+config FIX_EARLYCON_MEM
+       def_bool y
+
 source "init/Kconfig"
 source "kernel/Kconfig.freezer"
 
index 23329918f2292b088eac724156d743784460866c..91f1d8332b8688329ee7b2de3c189b93050daf3c 100644 (file)
@@ -90,11 +90,6 @@ config SERIAL_8250_CONSOLE
 
          If unsure, say N.
 
-config FIX_EARLYCON_MEM
-       bool
-       depends on X86
-       default y
-
 config SERIAL_8250_GSC
        tristate
        depends on SERIAL_8250 && GSC