On Wed, Oct 22, 2003 at 03:46:21PM -0600, Alex Williamson wrote: > --- linux-2.5/arch/ia64/mm/discontig.c Wed Oct 22 15:13:48 2003 > +++ linux-2.5/arch/ia64/mm/discontig.c Wed Oct 22 15:16:42 2003 > @@ -186,7 +186,7 @@ > */ > for (cpu = 0; cpu < NR_CPUS; cpu++) { > if (node == node_cpuid[cpu].nid) { > - memcpy(cpu_data, __phys_per_cpu_start, > + memcpy(__va(cpu_data), __phys_per_cpu_start, > __per_cpu_end-__per_cpu_start); > __per_cpu_offset[cpu] = > (char*)__va(cpu_data) - If we put the __va() above where cpu_data is set, we can remove it from both places in the loop... Just thought that might be clearer since the other assignments use __va() above. Jesse - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Wed Oct 22 18:01:41 2003
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:19 EST