diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2012-02-03 00:56:51 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-09 16:32:44 (GMT) |
commit | 14c1bf8a8920f36f6e0603a2ff920b48eec14387 (patch) | |
tree | 8e461c20788b2939d98f3898fd4a8e4fa634337c /drivers/hv/connection.c | |
parent | 2640335438ca4d7b139e114dae5f0d80e740e106 (diff) | |
download | linux-fsl-qoriq-14c1bf8a8920f36f6e0603a2ff920b48eec14387.tar.xz |
drivers: hv: Increase the number of VCPUs supported in the guest
The current code arbirarily limited the number of CPUs the guest could have.
Change that so that we can support the maximum number of CPUs the guest can
support. While we use NR_CPUS to size the per-cpu state all we are allocating
based on NR_CPUS are the pointers to per-cpu state that will be allocatted in
the context of the initializing CPU. This patch triggers a checkpatch warning
for the usage of NR_CPU and since all we are allocating a couple of pointers
per CPU, it should be ok.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/connection.c')
0 files changed, 0 insertions, 0 deletions