Commit bc226a05 authored by Russ Anderson's avatar Russ Anderson Committed by Tony Luck

[IA64] contig.c save physical address of MCA save area

Ashok Raj uncovered a problem while testing the MCA code
on a tiger box with contig memory.  The virtual address
was getting saved instead of the physical address of the
MCA save area.  This patch fixes that problem.
Signed-off-by: default avatarRuss Anderson <rja@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 9790ee6f
......@@ -195,7 +195,7 @@ per_cpu_init (void)
__per_cpu_offset[cpu] = (char *) cpu_data - __per_cpu_start;
cpu_data += PERCPU_PAGE_SIZE;
per_cpu(local_per_cpu_offset, cpu) = __per_cpu_offset[cpu];
__per_cpu_mca[cpu] = (unsigned long)mca_data;
__per_cpu_mca[cpu] = (unsigned long)__pa(mca_data);
mca_data += PERCPU_MCA_SIZE;
}
}
......
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