diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-03-29 15:13:22 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-04-11 18:50:34 +0100 |
commit | 0f468e221c3ae89d2fbe611a1a69ee554188519a (patch) | |
tree | c4b32d5157b506c49644ff830a67259290552eb0 /kernel/notifier.c | |
parent | e8b22d0f4500c7bb6aab879d4e32b2a00c89d5f8 (diff) |
arm64: assembler: add utility macros to push/pop stack frames
We are going to add code to all the NEON crypto routines that will
turn them into non-leaf functions, so we need to manage the stack
frames. To make this less tedious and error prone, add some macros
that take the number of callee saved registers to preserve and the
extra size to allocate in the stack frame (for locals) and emit
the ldp/stp sequences.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'kernel/notifier.c')
0 files changed, 0 insertions, 0 deletions