Commit e8d4006
arm64: Remove cpus_have_const_cap()
There are no longer any users of cpus_have_const_cap(), and therefore it
can be removed.
Remove cpus_have_const_cap(). At the same time, remove
__cpus_have_const_cap(), as this is a trivial wrapper of
alternative_has_cap_unlikely(), which can be used directly instead.
The comment for __system_matches_cap() is updated to no longer refer to
cpus_have_const_cap(). As we have a number of ways to check the cpucaps,
the specific suggestions are removed.
Signed-off-by: Mark Rutland <[email protected]>
Cc: Kristina Martsenko <[email protected]>
Cc: Suzuki K Poulose <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>1 parent 47759ec commit e8d4006
2 files changed
+2
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | 465 | | |
479 | 466 | | |
480 | 467 | | |
| |||
487 | 474 | | |
488 | 475 | | |
489 | 476 | | |
490 | | - | |
| 477 | + | |
491 | 478 | | |
492 | 479 | | |
493 | 480 | | |
| |||
504 | 491 | | |
505 | 492 | | |
506 | 493 | | |
507 | | - | |
| 494 | + | |
508 | 495 | | |
509 | 496 | | |
510 | 497 | | |
511 | 498 | | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | 499 | | |
534 | 500 | | |
535 | 501 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3322 | 3322 | | |
3323 | 3323 | | |
3324 | 3324 | | |
3325 | | - | |
3326 | 3325 | | |
3327 | 3326 | | |
3328 | 3327 | | |
| |||
0 commit comments