diff options
author | Michael Holzheu | 2015-07-29 21:15:15 +0200 |
---|---|---|
committer | David S. Miller | 2015-07-29 23:59:58 +0200 |
commit | 1df03ffdded54fbb6507ef494ece071f3501410e (patch) | |
tree | 9dda9a51a73d972b187254856893c2516d8f2b51 /fs/ext3/bitmap.c | |
parent | s390/bpf: clear correct BPF accumulator register (diff) | |
download | kernel-qcow2-linux-1df03ffdded54fbb6507ef494ece071f3501410e.tar.gz kernel-qcow2-linux-1df03ffdded54fbb6507ef494ece071f3501410e.tar.xz kernel-qcow2-linux-1df03ffdded54fbb6507ef494ece071f3501410e.zip |
s390/bpf: Fix multiple macro expansions
The EMIT6_DISP_LH macro passes the "disp" parameter to the _EMIT6_DISP_LH
macro. The _EMIT6_DISP_LH macro uses the "disp" parameter twice:
unsigned int __disp_h = ((u32)disp) & 0xff000;
unsigned int __disp_l = ((u32)disp) & 0x00fff;
The EMIT6_DISP_LH is used several times with EMIT_CONST_U64() as "disp"
parameter. Therefore always two constants are created per usage of
EMIT6_DISP_LH.
Fix this and add variable "_disp" to avoid multiple expansions.
* v2: Move "_disp" to _EMIT6_DISP_LH as suggested by Joe Perches
Fixes: 054623105728 ("s390/bpf: Add s390x eBPF JIT compiler backend")
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/ext3/bitmap.c')
0 files changed, 0 insertions, 0 deletions