diff options
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | 2016-06-22 21:55:05 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-06-24 15:15:37 +1000 |
commit | cef1e8cdcdb50513e7d3351f536e7e1e3e347827 (patch) | |
tree | 742ed4f5516d3327980a8d91782588d4d91aef21 /arch/powerpc/platforms/powernv/opal-memory-errors.c | |
parent | 277285b854c666308cf6cb92a696748f976d6f64 (diff) | |
download | linux-cef1e8cdcdb50513e7d3351f536e7e1e3e347827.tar.gz linux-cef1e8cdcdb50513e7d3351f536e7e1e3e347827.tar.bz2 linux-cef1e8cdcdb50513e7d3351f536e7e1e3e347827.zip |
powerpc/bpf/jit: A few cleanups
1. Per the ISA, ADDIS actually uses RT, rather than RS. Though
the result is the same, make the usage clear.
2. The multiply instruction used is a 32-bit multiply. Rename PPC_MUL()
to PPC_MULW() to make the same clear.
3. PPC_STW[U] take the entire 16-bit immediate value and do not require
word-alignment, per the ISA. Change the macros to use IMM_L().
4. A few white-space cleanups to satisfy checkpatch.pl.
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal-memory-errors.c')
0 files changed, 0 insertions, 0 deletions