powerpc/bpf: Introduce accessors for using the tmp local stack space
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Fri, 23 Sep 2016 20:35:00 +0000 (02:05 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 4 Oct 2016 09:33:19 +0000 (20:33 +1100)
commit7b847f523fe07b4ad73a01cec49a4da86a9be412
tree054b86d2a84abc70d93b77b2a672cb189e67b613
parent2685f826e5ffd1ab73b26fd5ac4e1f7048cb6ff6
powerpc/bpf: Introduce accessors for using the tmp local stack space

While at it, ensure that the location of the local save area is
consistent whether or not we setup our own stackframe. This property is
utilised in the next patch that adds support for tail calls.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/net/bpf_jit64.h
arch/powerpc/net/bpf_jit_comp64.c