From: David S. Miller Date: Wed, 5 Oct 2005 22:12:00 +0000 (-0700) Subject: [SPARC64]: Fix initrd when net booting. X-Git-Tag: v2.6.14-rc4~40^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ad98c5b4461e7dfa3754963200993a68825eab4;p=pandora-kernel.git [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 --- Reading git-diff-tree failed