arm64: move FP-SIMD save/restore code to a macro
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 12 Nov 2012 13:24:27 +0000 (13:24 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 5 Dec 2012 11:26:50 +0000 (11:26 +0000)
commitcfc5180e5a1b5f41f4936c4945a395f4d8885d66
treec6a76b685652345861e43d86e20aa1925825eabe
parent7dbfbe5b2f5fc01fb0a19a0d58820ba4ebb07884
arm64: move FP-SIMD save/restore code to a macro

In order to be able to reuse the save-restore code in KVM, move
it to a pair of macros, similar to what the 32bit code does.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/fpsimdmacros.h [new file with mode: 0644]
arch/arm64/kernel/entry-fpsimd.S