powerpc/bpf/jit: Disable classic BPF JIT on ppc64le
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Wed, 22 Jun 2016 16:25:01 +0000 (21:55 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jun 2016 00:35:31 +0000 (10:35 +1000)
commit844e3be47693f92a108cb1fb3b0606bf25e9c7a6
tree0cbcef13f3f2911e0c85fa198bed435da774d23d
parent6e914ee629c411d9c6d160399ce7d3472d2c0ec7
powerpc/bpf/jit: Disable classic BPF JIT on ppc64le

Classic BPF JIT was never ported completely to work on little endian
powerpc. However, it can be enabled and will crash the system when used.
As such, disable use of BPF JIT on ppc64le.

Fixes: 7c105b63bd98 ("powerpc: Add CONFIG_CPU_LITTLE_ENDIAN kernel config option.")
Reported-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig