Commit 8d5d597
committed
scx_layered: Use scx_bpf_cpu_curr()
Use the new scx_bpf_cpu_curr() introduced in v6.18 as a safer way to
access rq->curr instead of the deprecated scx_bpf_cpu_rq().
Signed-off-by: Christian Loehle <[email protected]>1 parent eea946e commit 8d5d597
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1341 | 1341 | | |
1342 | 1342 | | |
1343 | 1343 | | |
1344 | | - | |
1345 | 1344 | | |
1346 | 1345 | | |
1347 | 1346 | | |
| |||
1368 | 1367 | | |
1369 | 1368 | | |
1370 | 1369 | | |
1371 | | - | |
1372 | | - | |
| 1370 | + | |
| 1371 | + | |
1373 | 1372 | | |
1374 | | - | |
1375 | 1373 | | |
1376 | 1374 | | |
1377 | 1375 | | |
| |||
0 commit comments