Skip to content

Commit

Permalink
Squash to "selftests/bpf: Add bpf_burst scheduler"
Browse files Browse the repository at this point in the history
Use __always_inline instead of inline.

Signed-off-by: Geliang Tang <[email protected]>
  • Loading branch information
geliangtang authored and intel-lab-lkp committed Aug 2, 2023
1 parent 723bdc7 commit d22cea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/bpf/progs/mptcp_bpf_burst.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct subflow_send_info {
__u64 linger_time;
};

static inline __u64 div_u64(__u64 dividend, __u32 divisor)
static __always_inline __u64 div_u64(__u64 dividend, __u32 divisor)
{
return dividend / divisor;
}
Expand Down

0 comments on commit d22cea5

Please sign in to comment.