missing RELOC()s in prom.c?
Jimi Xenidis
jimix at watson.ibm.com
Sat Feb 7 06:12:44 EST 2004
Fellow coder (cc'd) found the following issue
-JX
===== /scratch1/jimix/work/linux/linux-2.5/arch/ppc64/kernel/prom.c 1.46 vs edited =====
--- 1.46/arch/ppc64/kernel/prom.c Tue Dec 9 11:45:05 2003
+++ edited//scratch1/jimix/work/linux/linux-2.5/arch/ppc64/kernel/prom.c Fri Feb 6 13:35:47 2004
@@ -1143,9 +1143,9 @@
sizeof(option));
if (option[0] != 0) {
found = 1;
- if (!strcmp(option, "off"))
+ if (!strcmp(option, RELOC("off")))
my_smt_enabled = SMT_OFF;
- else if (!strcmp(option, "on"))
+ else if (!strcmp(option, RELOC("on")))
my_smt_enabled = SMT_ON;
else
my_smt_enabled = SMT_DYNAMIC;
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list