]> 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)
commitda69294fed30a02b4e23b6fa9df87b2ea0576e8a
treee2ecf74be02543508d7028bd244973cd0f1ffded
parent5a687845c41ef20c86d302c6b6749761155774e6
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