]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
ARM64: fix build issue when supporting 64K pages
authorSri Krishna chowdary <schowdary@nvidia.com>
Mon, 27 Oct 2014 10:08:20 +0000 (15:38 +0530)
committerSri Krishna Chowdary <schowdary@nvidia.com>
Mon, 3 Nov 2014 06:18:44 +0000 (22:18 -0800)
commit77b88cdef05d42e854908938345f9673e09c802f
treec40a47c48b07f21d892260a75152a484b1f5ec20
parentbfb06056dbe42bb96ac261084a67a0c012e8c4a8
ARM64: fix build issue when supporting 64K pages

CONFIG_COMPAT is disabled when CONFI_ARM64_64K_PAGES is enabled.
Hence, the following compilation error

arch/arm64/kernel/built-in.o: In function `el0_sync':
.../arch/arm64/kernel/entry.S:358: undefined reference to `el0_sync_tramp'

Fix it by removing CONFIG_COMPAT protection for el0_sync_tramp and
ret_from_exception so that the branch prediction optimization
stays for both 4K and 64K pages.

Bug 1526131

Change-Id: I1531809df536d6d93b6732b9dc1c28893eb1200e
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/454023
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
arch/arm64/kernel/entry.S