Commit af59674f authored by Paul Bolle's avatar Paul Bolle Committed by Ralf Baechle

MIPS: Remove check for CONFIG_CAVIUM_REPORT_SINGLE_BIT_ECC

A check for CONFIG_CAVIUM_REPORT_SINGLE_BIT_ECC was added in v2.6.29,
but without the related Kconfig symbol. Remove this check.

Also remove the test for an "ecc_verbose" kernel parameter. It is
undocumented and has no effect anyway.
Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/6955/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent c836732f
...@@ -779,12 +779,6 @@ void __init prom_init(void) ...@@ -779,12 +779,6 @@ void __init prom_init(void)
MAX_MEMORY = 32ull << 30; MAX_MEMORY = 32ull << 30;
if (*p == '@') if (*p == '@')
RESERVE_LOW_MEM = memparse(p + 1, &p); RESERVE_LOW_MEM = memparse(p + 1, &p);
} else if (strcmp(arg, "ecc_verbose") == 0) {
#ifdef CONFIG_CAVIUM_REPORT_SINGLE_BIT_ECC
__cvmx_interrupt_ecc_report_single_bit_errors = 1;
pr_notice("Reporting of single bit ECC errors is "
"turned on\n");
#endif
#ifdef CONFIG_KEXEC #ifdef CONFIG_KEXEC
} else if (strncmp(arg, "crashkernel=", 12) == 0) { } else if (strncmp(arg, "crashkernel=", 12) == 0) {
crashk_size = memparse(arg+12, &p); crashk_size = memparse(arg+12, &p);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment