Atish Patra
9b2f753ec2
sparc64: Fix cpu_possible_mask if nr_cpus is set
...
If kernel boot parameter nr_cpus is set, it should define the number
of CPUs that can ever be available in the system i.e.
cpu_possible_mask. setup_nr_cpu_ids() overrides the nr_cpu_ids based
on the cpu_possible_mask during kernel initialization. If
cpu_possible_mask is not set based on the nr_cpus value, earlier part
of the kernel would be initialized using nr_cpus value leading to a
kernel crash.
Set cpu_possible_mask based on nr_cpus value. Thus setup_nr_cpu_ids()
becomes redundant and does not corrupt nr_cpu_ids 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>
2016-09-28 08:24:02 -07:00
..
2009-08-03 09:05:00 +01:00
2009-12-12 13:08:14 +01:00
2008-12-09 00:50:13 -08:00
2012-05-27 23:52:43 -07:00
2016-06-16 10:48:32 +02:00
2016-06-16 10:48:30 +02:00
2016-06-16 10:48:32 +02:00
2014-05-18 19:01:29 -07:00
2014-05-18 19:01:29 -07:00
2014-04-29 01:12:26 -04:00
2012-10-28 13:04:47 -07:00
2016-01-12 20:46:49 +02:00
2016-01-12 20:46:57 +02:00
2012-03-28 18:30:03 +01:00
2014-05-18 19:01:29 -07:00
2014-06-19 07:50:07 -10:00
2014-06-19 07:50:07 -10:00
2014-05-18 19:01:29 -07:00
2014-05-18 19:01:29 -07:00
2008-09-02 00:49:38 -07:00
2012-05-19 21:15:37 -07:00
2014-05-18 19:01:29 -07:00
2015-02-05 13:35:30 -08:00
2012-05-20 13:33:36 -07:00
2012-05-13 20:49:31 -07:00
2016-03-13 23:55:13 -04:00
2016-03-13 23:55:13 -04:00
2015-05-13 10:55:42 +02:00
2015-05-13 10:55:42 +02:00
2012-03-28 18:30:03 +01:00
2016-03-20 21:28:58 -07:00
2016-03-22 15:36:02 -07:00
2012-05-11 21:29:17 -07:00
2012-05-12 00:23:23 -07:00
2014-08-26 13:45:55 -04:00
2015-04-22 15:42:56 -04:00
2014-04-29 01:12:25 -04:00
2014-05-18 19:01:29 -07:00
2014-05-18 19:01:29 -07:00
2014-05-18 19:01:29 -07:00
2016-01-20 17:09:18 -08:00
2012-05-13 13:57:05 -07:00
2014-05-18 19:01:29 -07:00
2013-02-26 02:46:08 -05:00
2015-12-24 12:05:06 -05:00
2010-08-16 12:26:09 -07:00
2012-10-09 09:47:43 +01:00
2008-08-31 20:56:15 -07:00
2014-05-18 19:01:29 -07:00
2014-05-18 19:01:29 -07:00
2015-07-20 22:30:53 -04:00
2012-03-28 18:30:03 +01:00
2013-11-13 20:21:46 +01:00
2013-11-13 20:21:46 +01:00
2016-05-20 17:55:41 -07:00
2016-05-29 18:55:54 -07:00
2013-03-20 11:06:54 -07:00
2014-05-18 19:01:29 -07:00
2016-07-29 10:49:16 -07:00
2014-05-18 19:01:29 -07:00
2015-03-19 18:54:49 -07:00
2014-05-18 19:01:29 -07:00
2016-06-04 15:43:15 +02:00
2015-06-07 15:28:57 +02:00
2014-05-18 19:01:26 -07:00
2014-11-19 10:19:45 +01:00
2012-10-09 09:47:43 +01:00
2014-05-18 19:01:26 -07:00
2015-04-18 12:32:59 -07:00
2014-05-18 19:01:29 -07:00
2014-10-05 16:53:40 -07:00
2014-05-18 19:01:29 -07:00
2011-07-06 08:00:29 -07:00
2015-08-03 11:34:15 +02:00
2016-04-13 10:42:19 +02:00
2008-11-01 21:44:01 -07:00
2014-05-18 19:01:29 -07:00
2016-05-20 17:55:41 -07:00
2009-06-16 19:47:51 -07:00
2014-05-18 19:01:34 -07:00
2014-12-11 18:52:45 -08:00
2013-06-19 02:10:29 -07:00
2014-05-18 19:01:29 -07:00
2014-05-18 19:01:29 -07:00
2012-05-12 00:35:45 -07:00
2012-05-15 10:22:00 -07:00
2008-08-29 14:16:48 -07:00
2014-05-18 19:01:27 -07:00
2014-05-18 19:01:29 -07:00
2008-08-24 22:08:34 -07:00
2012-10-09 09:47:43 +01:00
2011-03-16 18:19:08 -07:00
2016-07-28 21:22:12 -07:00
2012-07-26 16:46:16 -07:00
2014-05-18 19:01:29 -07:00
2011-06-27 14:13:09 -07:00
2014-05-18 19:01:29 -07:00
2012-03-28 18:30:03 +01:00
2016-03-20 21:28:58 -07:00
2016-03-20 21:28:58 -07:00
2014-05-18 19:01:29 -07:00
2014-10-24 09:52:49 -07:00
2016-05-20 17:55:42 -07:00
2016-09-28 08:24:02 -07:00
2014-05-02 01:30:20 -04:00
2014-10-20 16:20:14 +02:00
2015-06-08 07:56:43 -05:00
2016-06-17 14:43:34 -05:00
2016-03-07 10:40:02 -06:00
2014-05-18 19:01:29 -07:00
2014-05-18 19:01:29 -07:00
2009-06-16 04:56:23 -07:00
2010-11-26 15:14:56 +01:00
2016-05-20 17:55:42 -07:00
2016-06-24 17:23:52 -07:00
2016-05-20 17:55:42 -07:00
2016-07-29 10:49:16 -07:00
2015-02-10 14:30:33 -08:00
2009-03-18 23:51:57 -07:00
2014-07-17 12:32:47 +02:00
2016-03-20 21:28:58 -07:00
2016-01-12 20:46:49 +02:00
2014-05-18 19:01:29 -07:00
2012-10-09 09:47:43 +01:00
2014-05-18 19:01:29 -07:00
2015-04-17 09:04:10 -04:00
2012-05-27 23:52:43 -07:00
2014-10-24 09:52:49 -07:00
2014-05-18 19:01:28 -07:00
2012-05-12 00:23:23 -07:00
2016-03-20 21:28:58 -07:00
2012-10-09 09:47:43 +01:00
2013-02-03 15:09:22 -05:00
2014-05-18 19:01:29 -07:00
2016-09-28 08:24:02 -07:00
2013-11-12 15:22:34 -08:00
2016-06-14 11:55:15 +02:00
2016-06-14 11:55:15 +02:00
2009-12-14 23:55:32 +01:00
2016-04-21 16:43:47 -04:00
2014-05-18 19:01:29 -07:00
2015-03-01 21:33:58 -08:00
2014-05-18 19:01:29 -07:00
2014-05-18 19:01:29 -07:00
2014-05-18 19:01:29 -07:00
2014-05-18 19:01:29 -07:00
2012-03-28 18:30:03 +01:00
2016-03-22 15:36:02 -07:00
2014-05-18 19:01:29 -07:00
2012-10-09 09:47:43 +01:00
2012-10-09 09:47:43 +01:00
2015-04-12 21:03:31 +02:00
2016-08-02 19:35:23 -04:00
2014-05-18 19:01:29 -07:00
2014-05-18 19:01:29 -07:00
2012-04-15 10:28:50 -07:00
2014-05-18 19:01:29 -07:00
2012-05-13 20:49:31 -07:00
2016-05-20 18:44:27 -07:00
2015-11-04 12:14:49 -08:00
2015-05-31 22:15:01 -07:00
2012-10-09 09:47:43 +01:00
2016-07-29 10:49:16 -07:00
2016-05-29 18:55:54 -07:00
2016-09-14 09:35:05 -07:00
2016-09-06 12:17:29 -07:00
2014-05-18 19:01:29 -07:00
2014-06-04 16:54:14 -07:00
2012-07-26 16:46:16 -07:00
2012-03-04 17:54:34 -05:00
2014-12-11 18:52:45 -08:00
2015-08-06 19:13:25 -07:00
2012-05-14 13:31:38 -07:00
2014-05-18 19:01:29 -07:00