From: Russell King Date: Sun, 21 Nov 2010 14:42:47 +0000 (+0000) Subject: ARM: improve compiler's ability to optimize page tables X-Git-Tag: v2.6.37-rc4~31^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0ba10b512eb2e2a3888b6e6cc0e089f5e7a191b;p=pandora-kernel.git ARM: improve compiler's ability to optimize page tables Allow the compiler to better optimize the page table walking code by avoiding over-complex pmd_addr_end() calculations. These calculations prevent the compiler spotting that we'll never iterate over the PMD table, causing it to create double nested loops where a single loop will do. Signed-off-by: Russell King --- Reading git-diff-tree failed