• David S. Miller's avatar
    [SPARC64]: Fix net booting on Ultra5 · b1b510aa
    David S. Miller authored
    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: default avatarDavid S. Miller <davem@davemloft.net>
    b1b510aa
head.S 14.6 KB