From: David S. Miller Date: Thu, 22 Sep 2005 04:49:32 +0000 (-0700) Subject: [SPARC64]: Remove ktlb.S instruction patching. X-Git-Tag: v2.6.14-rc3~100^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ac4f5ebaa496a23ab4a148c9864d7e30a6c6cd3;p=pandora-kernel.git [SPARC64]: Remove ktlb.S instruction patching. This was kind of ugly, and actually buggy. The bug was that we didn't handle a machine with memory starting > 4GB. If the 'prompmd' was allocated in physical memory > 4GB we'd croak because the obp_iaddr_patch and obp_daddr_patch things only supported a 32-bit physical address. So fix this by just loading the appropriate values from two variables in the kernel image, which is locked into the TLB and thus accesses to them can't cause a recursive TLB miss. Signed-off-by: David S. Miller --- Reading git-diff-tree failed