commit | 7d96b3e55ad45ebe4ff1a1daad27ac1fff8682ec | [log] [tgz] |
---|---|---|
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | Sun Feb 19 18:29:11 2012 +0400 |
committer | Tejun Heo <tj@kernel.org> | Tue Feb 21 08:57:10 2012 -0800 |
tree | 704d01704e819cfd675610f6f0fdd8bb8a0576e1 | |
parent | 26dd8e0291fd699142722632c6588a438d6ef0e4 [diff] |
percpu: fix generic definition of __this_cpu_add_and_return() This patch adds missed "__" into function prefix. Otherwise on all archectures (except x86) it expands to irq/preemtion-safe variant: _this_cpu_generic_add_return(), which do extra irq-save/irq-restore. Optimal generic implementation is __this_cpu_generic_add_return(). Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org> Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>