diff options
author | Christoph Lameter <cl@linux.com> | 2014-04-08 02:39:44 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-08 03:36:14 +0400 |
commit | 188a81409ff7de1c5aae947a96356ddd8ff4aaa3 (patch) | |
tree | 7f2780e62f8a3b33c3cc6ef8b68ee05790909a8d /kernel/locking | |
parent | 293b6a4c875c3b49853bff7de99954f49f59aa75 (diff) | |
download | linux-188a81409ff7de1c5aae947a96356ddd8ff4aaa3.tar.xz |
percpu: add preemption checks to __this_cpu ops
We define a check function in order to avoid trouble with the include
files. Then the higher level __this_cpu macros are modified to invoke
the preemption check.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Christoph Lameter <cl@linux.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Tested-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions