]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] Allow gcc to optimise arm_add_memory a little more
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 30 Nov 2006 20:44:49 +0000 (20:44 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Dec 2006 16:26:16 +0000 (16:26 +0000)
commit05f96ef1189ecbf2e8548056a0ca016e4f630cef
tree1e4ef81835135bdfae2243d8033b3b5df0a61523
parentb7dc96d75309346c1213875be68fdbbec92da5e7
[ARM] Allow gcc to optimise arm_add_memory a little more

For some reason, gcc was calculating meminfo.bank[meminfo.nr_banks]
repeatedly.  Use a pointer to it instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c