]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mm: clean up initrd initialisation
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 16 Jan 2017 15:13:25 +0000 (15:13 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 28 Feb 2017 11:06:21 +0000 (11:06 +0000)
commitecbc1f6852ad6085dd67de8acaf5f4a490e97a6f
treee2ecf74be02543508d7028bd244973cd0f1ffded
parentbd594fabcafc4ee3f843278b722c011556b98f94
ARM: mm: clean up initrd initialisation

Rather than repeatedly testing phys_initrd_size to see if the initrd
is still enabled, return from the new function to avoid executing the
remaining initialisation.

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