arm64: move vector entry macro to assembler.h
This macro is also useful to other bits defining vectors (hypervisor stub, KVM...). Move it to a common location. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
This commit is contained in:
Родитель
9ec218b8f5
Коммит
dc637f1fda
|
@ -107,3 +107,11 @@
|
|||
* Register aliases.
|
||||
*/
|
||||
lr .req x30 // link register
|
||||
|
||||
/*
|
||||
* Vector entry
|
||||
*/
|
||||
.macro ventry label
|
||||
.align 7
|
||||
b \label
|
||||
.endm
|
||||
|
|
|
@ -148,10 +148,6 @@ tsk .req x28 // current thread_info
|
|||
/*
|
||||
* Exception vectors.
|
||||
*/
|
||||
.macro ventry label
|
||||
.align 7
|
||||
b \label
|
||||
.endm
|
||||
|
||||
.align 11
|
||||
ENTRY(vectors)
|
||||
|
|
Загрузка…
Ссылка в новой задаче