x86/microcode: Correct Kconfig dependencies
authorBorislav Petkov <bp@suse.de>
Sun, 13 Oct 2013 16:36:29 +0000 (18:36 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 14 Oct 2013 07:24:27 +0000 (09:24 +0200)
commit80030e3d8ec6414790a5ec67ae4c5eeee82aba98
tree5ff416688ad2b095d0fc8d7a0b37165100e06f91
parent61e6cfa80de5760bbe406f4e815b7739205754d2
x86/microcode: Correct Kconfig dependencies

I have a randconfig here which has enabled only

  CONFIG_MICROCODE=y
  CONFIG_MICROCODE_OLD_INTERFACE=y

with both

  # CONFIG_MICROCODE_INTEL is not set
  # CONFIG_MICROCODE_AMD is not set

off. Which makes building the microcode functionality a little
pointless. Don't do that in such cases then.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1381682189-14470-1-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/Kconfig