Christoph Lameter
4ba2968420
percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t
...
__get_cpu_var can paper over differences in the definitions of
cpumask_var_t and either use the address of the cpumask variable
directly or perform a fetch of the address of the struct cpumask
allocated elsewhere. This is important particularly when using per cpu
cpumask_var_t declarations because in one case we have an offset into
a per cpu area to handle and in the other case we need to fetch a
pointer from the offset.
This patch introduces a new macro
this_cpu_cpumask_var_ptr()
that is defined where cpumask_var_t is defined and performs the proper
actions. All use cases where __get_cpu_var is used with cpumask_var_t
are converted to the use of this_cpu_cpumask_var_ptr().
Signed-off-by: Christoph Lameter <cl@linux.com >
Signed-off-by: Tejun Heo <tj@kernel.org >
2014-08-28 08:58:57 -04:00
..
2014-08-02 15:03:58 -07:00
2014-06-12 16:18:45 +02:00
2014-08-26 13:45:45 -04:00
2014-08-08 15:57:24 -07:00
2014-08-26 13:45:48 -04:00
2014-07-17 12:32:47 +02:00
2014-08-11 23:19:48 +02:00
2014-08-26 13:45:44 -04:00
2014-08-04 15:55:08 -07:00
2014-08-28 08:58:57 -04:00
2014-08-26 13:45:45 -04:00
2014-08-09 17:29:36 -07:00
2014-08-08 15:57:27 -07:00
2014-02-18 11:17:17 +01:00
2014-02-18 11:17:17 +01:00
2014-07-24 21:53:47 +10:00
2014-03-20 10:10:53 -04:00
2014-08-06 18:01:12 -07:00
2014-06-10 08:44:40 -07:00
2014-06-04 16:54:14 -07:00
2014-08-08 15:57:18 -07:00
2014-07-24 21:53:47 +10:00
2014-07-15 11:05:09 -04:00
2014-08-04 10:11:28 -07:00
2014-06-04 16:54:19 -07:00
2014-06-14 09:07:44 +02:00
2014-07-05 11:17:45 +02:00
2014-08-04 10:11:28 -07:00
2014-07-23 10:18:06 -07:00
2014-06-04 16:54:15 -07:00
2014-08-08 15:57:22 -07:00
2014-02-13 18:13:22 -08:00
2014-08-11 13:29:12 -07:00
2014-02-02 14:09:12 -08:00
2014-06-21 22:26:24 +02:00
2014-04-03 16:21:05 -07:00
2014-06-04 16:54:15 -07:00
2014-08-26 13:45:44 -04:00
2014-08-08 15:57:18 -07:00
2014-07-16 14:57:13 +02:00
2014-08-08 15:57:33 -07:00
2014-06-06 16:08:12 -07:00
2014-07-18 06:23:40 +02:00
2014-04-25 12:00:49 -07:00
2014-07-28 14:07:52 -04:00
2014-06-04 16:54:15 -07:00
2014-08-08 15:57:32 -07:00
2014-08-16 04:47:00 +09:30
2014-04-24 10:26:39 +02:00
2014-07-29 18:08:50 -07:00
2014-08-08 15:57:24 -07:00
2014-07-17 22:07:37 +02:00
2014-04-02 16:20:21 -07:00
2014-06-06 16:08:13 -07:00
2014-07-16 15:10:39 +02:00
2014-06-04 16:54:15 -07:00
2014-04-12 14:49:50 -07:00
2014-06-04 16:54:15 -07:00
2014-08-08 15:57:32 -07:00
2014-08-11 13:29:12 -07:00
2014-08-09 09:58:12 -07:00
2014-08-26 13:45:44 -04:00
2014-08-26 13:45:44 -04:00
2014-06-04 16:54:15 -07:00
2014-08-08 15:57:32 -07:00
2014-07-18 12:13:38 -07:00
2014-07-01 12:16:24 -07:00
2014-08-06 18:01:19 -07:00
2014-07-17 09:35:17 -04:00
2014-08-26 13:45:45 -04:00
2014-08-08 15:57:18 -07:00
2014-07-07 10:12:56 -07:00
2014-06-21 00:15:26 -04:00
2014-07-23 10:18:05 -07:00
2014-02-24 14:47:15 -08:00
2014-08-08 15:57:22 -07:00
2014-08-26 13:45:45 -04:00
2014-06-04 16:54:16 -07:00
2014-06-06 16:08:16 -07:00
2014-07-29 18:08:50 -07:00
2014-08-26 13:45:46 -04:00
2014-05-20 10:59:32 -04:00
2014-08-04 10:09:27 -07:00