diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-05-10 17:34:27 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-06-22 20:54:28 +0200 |
commit | 5745eef6b813194b4dd3e2aee1dd712d8512bf91 (patch) | |
tree | 0af8df412569695660b3a42b4ab163b822d781dc /arch/arm/kernel/entry-v7m.S | |
parent | Linux 4.7-rc1 (diff) | |
download | linux-5745eef6b813194b4dd3e2aee1dd712d8512bf91.tar.xz linux-5745eef6b813194b4dd3e2aee1dd712d8512bf91.zip |
ARM: rename S_FRAME_SIZE to PT_REGS_SIZE
S_FRAME_SIZE is no longer the size of the kernel stack frame, so this
name is misleading. It is the size of the kernel pt_regs structure.
Name it so.
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/kernel/entry-v7m.S')
-rw-r--r-- | arch/arm/kernel/entry-v7m.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/entry-v7m.S b/arch/arm/kernel/entry-v7m.S index 907534f97053..abcf47848525 100644 --- a/arch/arm/kernel/entry-v7m.S +++ b/arch/arm/kernel/entry-v7m.S @@ -73,7 +73,7 @@ __irq_entry: @ correctness they don't need to be restored. So only r8-r11 must be @ restored here. The easiest way to do so is to restore r0-r7, too. ldmia sp!, {r0-r11} - add sp, #S_FRAME_SIZE-S_IP + add sp, #PT_REGS_SIZE-S_IP cpsie i bx lr ENDPROC(__irq_entry) |