Commit 253ec123 authored by John Johansen's avatar John Johansen Committed by Tim Gardner

Revert "UBUNTU: apparmor -- follow change to this_cpu_ptr"

BugLink: http://bugs.launchpad.net/bugs/1379535

This reverts commit 53f139d6.
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 01c7cdcc
......@@ -64,7 +64,7 @@ DECLARE_PER_CPU(struct aa_buffers, aa_buffers);
#define __get_buffer(N) ({ \
struct aa_buffers *__cpu_var; \
AA_BUG_PREEMPT_ENABLED("__get_buffer without preempt disabled"); \
__cpu_var = this_cpu_ptr(&aa_buffers); \
__cpu_var = &__get_cpu_var(aa_buffers); \
__cpu_var->buf[(N)]; })
#define __get_buffers(X...) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment