diff options
Diffstat (limited to 'net/sunrpc/svc.c')
-rw-r--r-- | net/sunrpc/svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 232a99715ef2..8353829bc5c6 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c | |||
@@ -115,7 +115,7 @@ fail: | |||
115 | static int | 115 | static int |
116 | svc_pool_map_init_percpu(struct svc_pool_map *m) | 116 | svc_pool_map_init_percpu(struct svc_pool_map *m) |
117 | { | 117 | { |
118 | unsigned int maxpools = highest_possible_processor_id() + 1; | 118 | unsigned int maxpools = nr_cpu_ids; |
119 | unsigned int pidx = 0; | 119 | unsigned int pidx = 0; |
120 | unsigned int cpu; | 120 | unsigned int cpu; |
121 | int err; | 121 | int err; |