]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC64]: Fix net booting on Ultra5
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 11 Oct 2005 22:45:16 +0000 (15:45 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 11 Oct 2005 22:45:16 +0000 (15:45 -0700)
commit03a6237ba8270151a8f449cdaedf5e5e3135041a
treedd79875667adf73552c4b9c4789aee2b4ada8368
parent9da8a932a0d6ff169adcf57e08b3d829e057850b
[SPARC64]: Fix net booting on Ultra5

We were not doing alignment properly when remapping the kernel image.

What we want is a 4MB aligned physical address to map at KERNBASE.
Mistakedly we were 4MB aligning the virtual address where the kernel
initially sits, that's wrong.

Instead, we should PAGE align the virtual address, then 4MB align the
physical address result the prom gives to us.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/head.S