commit | 9ad98c5b4461e7dfa3754963200993a68825eab4 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 05 15:12:00 2005 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 05 15:12:00 2005 -0700 |
tree | b7456cf49eaf034740fa7cb8b75e5b6ee01c9666 | |
parent | 782c3fd470abddf2525e34cf3131215a8f95e834 [diff] |
[SPARC64]: Fix initrd when net booting. By allocating early memory for the firmware page tables, we can write over the beginning of the initrd image. So what we do now is: 1) Read in firmware translations table while still on the firmware's trap table. 2) Switch to Linux trap table. 3) Init bootmem. 4) Build firmware page tables using __alloc_bootmem(). And this keeps the initrd from being clobbered. Signed-off-by: David S. Miller <davem@davemloft.net>