aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mprotect.c
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2011-01-25 05:18:08 -0500
committerDan Williams <dan.j.williams@intel.com>2011-01-31 01:27:16 -0500
commit724a8577d80c6f8e9ac680be1cf419eddbd6f2a1 (patch)
tree9e6dd06f0ef4e5775d3f1000c0d8c943facfb519 /mm/mprotect.c
parent8ca84687b91322b9eafeaf4da43a21684cd0316e (diff)
dma40: use helpers for channel type check
The somewhat confusing check d40c->log_num == D40_PHY_CHAN and its variants are used in several places to check if a channel is logical or physical. Use appropriately named helpers to do this to make the code more readable. Acked-by: Per Forlin <per.forlin@stericsson.com> Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions