lkml.org 
[lkml]   [2003]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] trivial ia64 numa/discontig fixes
From
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-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.054 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site