summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2012-02-03 01:56:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-09 17:32:44 +0100
commit14c1bf8a8920f36f6e0603a2ff920b48eec14387 (patch)
tree8e461c20788b2939d98f3898fd4a8e4fa634337c /drivers/w1
parentdrivers: hv: kvp: Cleanup the kernel/user protocol (diff)
downloadlinux-14c1bf8a8920f36f6e0603a2ff920b48eec14387.tar.xz
linux-14c1bf8a8920f36f6e0603a2ff920b48eec14387.zip
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/w1')
0 files changed, 0 insertions, 0 deletions