Commit d20642f0a32575605f152a1cb7753bdfca5fc94b

Authored by Rob Herring
Committed by Greg Kroah-Hartman
1 parent e264ebf4c8

x86: move FIX_EARLYCON_MEM kconfig into x86

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>

Showing 2 changed files with 3 additions and 5 deletions Side-by-side Diff

... ... @@ -261,6 +261,9 @@
261 261 config ARCH_SUPPORTS_UPROBES
262 262 def_bool y
263 263  
  264 +config FIX_EARLYCON_MEM
  265 + def_bool y
  266 +
264 267 source "init/Kconfig"
265 268 source "kernel/Kconfig.freezer"
266 269  
drivers/tty/serial/8250/Kconfig
... ... @@ -90,11 +90,6 @@
90 90  
91 91 If unsure, say N.
92 92  
93   -config FIX_EARLYCON_MEM
94   - bool
95   - depends on X86
96   - default y
97   -
98 93 config SERIAL_8250_GSC
99 94 tristate
100 95 depends on SERIAL_8250 && GSC