diff options
author | Menglong Dong <[email protected]> | 2023-07-13 12:07:36 +0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-07-13 16:04:56 -0700 |
commit | 02a6dfa8ff43efb1c989f87a4d862aedf436088a (patch) | |
tree | 1f48fb9794d958125471c4f451f56f7688da4e69 /drivers/fpga/fpga-mgr.c | |
parent | 0a5550b1165cd60ad6972791eda4a3eb7e347280 (diff) |
bpf, x86: save/restore regs with BPF_DW size
As we already reserve 8 byte in the stack for each reg, it is ok to
store/restore the regs in BPF_DW size. This will make the code in
save_regs()/restore_regs() simpler.
Signed-off-by: Menglong Dong <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions