commit | 38125c2c2beb3c770d8fcdbcd846bd95938866d3 | [log] [tgz] |
---|---|---|
author | John Johansen <john.johansen@canonical.com> | Fri May 04 02:18:07 2018 -0700 |
committer | John Johansen <john.johansen@canonical.com> | Thu Jun 07 01:49:21 2018 -0700 |
tree | f40478007c4c3350f5bd83ae94931c5b98de513e | |
parent | 52e7128ebbdd7b05ba8615efbe410e88a5925a1d [diff] |
apparmor: improve get_buffers macro by using get_cpu_ptr Refactor get_buffers so the cpu_ptr can be obtained in the outer layer, instead of inside the macro. This also enables us to cleanup the code and use get_cpu_ptr, to handle the preempt_disable() Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Seth Arnold <seth.arnold@canonical.com>