Searched hist:"8 f5ca0b3195a9afff448004c2141d01a11f481da" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/mm/ |
H A D | fault.c | diff 8f5ca0b3195a9afff448004c2141d01a11f481da Tue Jul 18 23:49:45 CDT 2017 Benjamin Herrenschmidt <benh@kernel.crashing.org> 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>
|