diff options
author | John Johansen <john.johansen@canonical.com> | 2018-05-04 02:18:07 -0700 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2018-06-07 01:49:21 -0700 |
commit | 38125c2c2beb3c770d8fcdbcd846bd95938866d3 (patch) | |
tree | f40478007c4c3350f5bd83ae94931c5b98de513e /lib/bitmap.c | |
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>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions