missing RELOC()s in prom.c?
jschopp at austin.ibm.com
jschopp at austin.ibm.com
Sat Feb 7 09:53:32 EST 2004
Good catch. I think this is dead on the money. I'll push it to ameslab
unless somebody beats me to it.
-JOel
On Fri, 6 Feb 2004, Jimi Xenidis wrote:
>
> 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