Commit 6f70bd5
arm64: kernel: Bound the total(present+disabled) cpus with nr_cpu_ids
Bound the total number of identified cpus(including disabled cpus) by
maximum allowed limit by the kernel. Max value is either specified as
part of the kernel parameters 'nr_cpus' or specified during compile
time using CONFIG_NR_CPUS.
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>1 parent 0867205 commit 6f70bd5
1 file changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| 531 | + | |
531 | 532 | | |
532 | 533 | | |
533 | 534 | | |
| |||
551 | 552 | | |
552 | 553 | | |
553 | 554 | | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
554 | 560 | | |
555 | 561 | | |
556 | 562 | | |
| |||
584 | 590 | | |
585 | 591 | | |
586 | 592 | | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | 593 | | |
591 | 594 | | |
592 | 595 | | |
| |||
704 | 707 | | |
705 | 708 | | |
706 | 709 | | |
707 | | - | |
| 710 | + | |
| 711 | + | |
708 | 712 | | |
| 713 | + | |
709 | 714 | | |
710 | 715 | | |
711 | 716 | | |
| |||
726 | 731 | | |
727 | 732 | | |
728 | 733 | | |
| 734 | + | |
729 | 735 | | |
730 | 736 | | |
731 | 737 | | |
732 | 738 | | |
733 | 739 | | |
734 | 740 | | |
735 | 741 | | |
736 | | - | |
| 742 | + | |
737 | 743 | | |
738 | | - | |
| 744 | + | |
739 | 745 | | |
740 | 746 | | |
741 | 747 | | |
| |||
0 commit comments