summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/scatterlist.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-11-21 14:42:47 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-11-21 14:42:47 +0000
commitc0ba10b512eb2e2a3888b6e6cc0e089f5e7a191b (patch)
treea5e2ebdb4147df5653ce481a78465d28aa5b15c2 /arch/arm/include/asm/scatterlist.h
parent589136bfa784a4558b397f017ca2f06f0ca9080e (diff)
downloadblackbird-obmc-linux-c0ba10b512eb2e2a3888b6e6cc0e089f5e7a191b.tar.gz
blackbird-obmc-linux-c0ba10b512eb2e2a3888b6e6cc0e089f5e7a191b.zip
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 <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/scatterlist.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud