Commit 93fd420
bpf, riscv: introduce emit_store_stack_imm64() for trampoline
Introduce a helper to store 64-bit immediate on the trampoline stack with
a help of a register.
Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Tested-by: Björn Töpel <bjorn@kernel.org>
Acked-by: Björn Töpel <bjorn@kernel.org>
Link: https://lore.kernel.org/r/20260208053311.698352-2-dongml2@chinatelecom.cn
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Pu Lehui <pulehui@huawei.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>1 parent 2669dde commit 93fd420
1 file changed
Lines changed: 14 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
926 | 926 | | |
927 | 927 | | |
928 | 928 | | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
929 | 937 | | |
930 | 938 | | |
931 | 939 | | |
932 | 940 | | |
933 | 941 | | |
934 | 942 | | |
935 | 943 | | |
936 | | - | |
937 | | - | |
938 | | - | |
939 | | - | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
940 | 947 | | |
941 | | - | |
942 | 948 | | |
943 | 949 | | |
944 | 950 | | |
| |||
1123 | 1129 | | |
1124 | 1130 | | |
1125 | 1131 | | |
1126 | | - | |
1127 | | - | |
1128 | | - | |
1129 | | - | |
| 1132 | + | |
| 1133 | + | |
1130 | 1134 | | |
1131 | | - | |
1132 | | - | |
| 1135 | + | |
1133 | 1136 | | |
1134 | 1137 | | |
1135 | 1138 | | |
| |||
0 commit comments