diff options
author | Atish Patra <atish.patra@oracle.com> | 2016-09-15 22:54:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-28 17:24:03 +0200 |
commit | ebb99a4c12e4daabe1940ae936e8e7e97ae68c6f (patch) | |
tree | e857fbe7a91bb78022da0b9c1abee53ffa06c6df /scripts | |
parent | sparc64: Fix cpu_possible_mask if nr_cpus is set (diff) | |
download | linux-ebb99a4c12e4daabe1940ae936e8e7e97ae68c6f.tar.xz linux-ebb99a4c12e4daabe1940ae936e8e7e97ae68c6f.zip |
sparc64: Fix irq stack bootmem allocation.
Currently, irq stack bootmem is allocated for all possible cpus
before nr_cpus value changes the list of possible cpus. As a result,
there is unnecessary wastage of bootmemory.
Move the irq stack bootmem allocation so that it happens after
possible cpu list is modified based on nr_cpus value.
Signed-off-by: Atish Patra <atish.patra@oracle.com>
Reviewed-by: Bob Picco <bob.picco@oracle.com>
Reviewed-by: Vijay Kumar <vijay.ac.kumar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions