]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: entry: Explicitly pass exception level to kernel_ventry macro
authorWill Deacon <will.deacon@arm.com>
Tue, 14 Nov 2017 14:20:21 +0000 (14:20 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 11 Dec 2017 13:40:53 +0000 (13:40 +0000)
commit7f67b9f51a3394a9f4b989c17015942e58815c15
tree1ea5bdf269b5e6d397db4e9ee6829706177c2a00
parent6622cb3629dced1223bc46f14ca57127fd9a3792
arm64: entry: Explicitly pass exception level to kernel_ventry macro

We will need to treat exceptions from EL0 differently in kernel_ventry,
so rework the macro to take the exception level as an argument and
construct the branch target using that.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Laura Abbott <labbott@redhat.com>
Tested-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/entry.S