diff options
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | 2013-07-19 18:50:15 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-08-12 17:55:12 +0200 |
commit | 7781544e7c367d0cae87feb0f0675fd333bfc9d8 (patch) | |
tree | 65fc1a548b1b2d5f932cba55c487477409bf4241 /drivers/infiniband/hw/mlx5/qp.c | |
parent | Merge branch 'x86/mce' into x86/ras (diff) | |
download | linux-7781544e7c367d0cae87feb0f0675fd333bfc9d8.tar.xz linux-7781544e7c367d0cae87feb0f0675fd333bfc9d8.zip |
x86/mce, acpi/apei: Only disable banks listed in HEST if mce is configured
Randconfig testing found this build error:
>> hest.c(.init.text+0x6004): undefined reference to 'mce_disable_bank'
Fix by wrapping body of hest_parse_cmc() inside #ifdef
CONFIG_X86_MCE
Reported-by: "Wu, Fengguang" <fengguang.wu@intel.com>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Acked-by: Borislav Petkov <bp@alien8.de>
Link: http://lkml.kernel.org/r/0129220@agluck-desk.sc.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/qp.c')
0 files changed, 0 insertions, 0 deletions