Re: [PATCH roundup 2/4] ARM: KVM: avoid HYP init code too big error

2015-03-09 Thread Russell King - ARM Linux
On Fri, Mar 06, 2015 at 03:34:40PM +0100, Ard Biesheuvel wrote: From: Arnd Bergmann a...@arndb.de When building large kernels, the linker will emit lots of veneers into the .hyp.idmap.text section, which causes it to grow beyond one page, and that triggers the build error. This moves the

[PATCH roundup 2/4] ARM: KVM: avoid HYP init code too big error

2015-03-06 Thread Ard Biesheuvel
From: Arnd Bergmann a...@arndb.de When building large kernels, the linker will emit lots of veneers into the .hyp.idmap.text section, which causes it to grow beyond one page, and that triggers the build error. This moves the section into .rodata instead, which avoids the veneers and is safe