diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-07-19 14:49:45 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-03 16:06:51 +1000 |
commit | 8f5ca0b3195a9afff448004c2141d01a11f481da (patch) | |
tree | 1778a6e1338fb461ad5eb41c640c169e1ba02448 /arch/powerpc/mm/mmu_context_book3s64.c | |
parent | f43bb27ebf27ee3f90a42a08b86314d0239c30e4 (diff) | |
download | op-kernel-dev-8f5ca0b3195a9afff448004c2141d01a11f481da.zip op-kernel-dev-8f5ca0b3195a9afff448004c2141d01a11f481da.tar.gz |
powerpc/mm: Cleanup check for stack expansion
When hitting below a VM_GROWSDOWN vma (typically growing the stack),
we check whether it's a valid stack-growing instruction and we
check the distance to GPR1. This is largely open coded with lots
of comments, so move it out to a helper.
While at it, make store_update_sp a boolean.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/mmu_context_book3s64.c')
0 files changed, 0 insertions, 0 deletions