diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-12 15:08:09 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-09-03 14:52:13 -0400 |
commit | 640710a33b54de8d90ae140ef633ed0feba76a75 (patch) | |
tree | c58e0f7b36fef258674ddf9d5425608d3b5a430e /sound/drivers | |
parent | 49cf78ef7bb34833496d59b6dfe84ae51b1ab097 (diff) | |
download | linux-stable-640710a33b54de8d90ae140ef633ed0feba76a75.tar.gz linux-stable-640710a33b54de8d90ae140ef633ed0feba76a75.tar.bz2 linux-stable-640710a33b54de8d90ae140ef633ed0feba76a75.zip |
tile: add virt_to_kpte() API and clean up and document behavior
We use virt_to_pte(NULL, va) a lot, which isn't very obvious.
I added virt_to_kpte(va) as a more obvious wrapper function,
that also validates the va as being a kernel adddress.
And, I fixed the semantics of virt_to_pte() so that we handle
the pud and pmd the same way, and we now document the fact that
we handle the final pte level differently.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions