Commit 142e043e authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: Fix for ppc64 SMT enablement bug provided by Jimi Xenidis and Michael Day

From: Anton Blanchard <anton@samba.org>

Fix for ppc64 SMT enablement bug provided by Jimi Xenidis and Michael Day
parent d61b021a
...@@ -1191,9 +1191,9 @@ smt_setup(void) ...@@ -1191,9 +1191,9 @@ smt_setup(void)
sizeof(option)); sizeof(option));
if (option[0] != 0) { if (option[0] != 0) {
found = 1; found = 1;
if (!strcmp(option, "off")) if (!strcmp(option, RELOC("off")))
my_smt_enabled = SMT_OFF; my_smt_enabled = SMT_OFF;
else if (!strcmp(option, "on")) else if (!strcmp(option, RELOC("on")))
my_smt_enabled = SMT_ON; my_smt_enabled = SMT_ON;
else else
my_smt_enabled = SMT_DYNAMIC; my_smt_enabled = SMT_DYNAMIC;
......
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