]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitb1b510aa284af1908d5d369d52f7dae16aaabd71
treedd79875667adf73552c4b9c4789aee2b4ada8368
parent08eb8f124f990aa476589d1f7810f7ec7f259c08
[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