ARM: fix address limit restoration for undefined instructions
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 3 Aug 2016 09:33:35 +0000 (10:33 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 9 Aug 2016 21:57:59 +0000 (22:57 +0100)
commit87eed3c74d7c65556f744230a90bf9556dd29146
tree456862773627f7b0b35078dce07f82d07402a743
parent61444cde9170e256c238a02c9a4861930db04f5f
ARM: fix address limit restoration for undefined instructions

During boot, sometimes the kernel will test to see if an instruction
causes an undefined instruction exception.  Unfortunately, the exit
path for these exceptions did not restore the address limit, which
causes the rootfs mount code to fail.  Fix the missing address limit
restoration.

Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/entry-armv.S