Chris Metcalf 640710a33b 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>
2013-09-03 14:52:13 -04:00
..
2013-08-13 16:26:01 -04:00
2013-08-30 10:20:13 -04:00
2013-08-13 16:26:01 -04:00
2013-08-30 11:56:16 -04:00
2013-09-03 14:51:26 -04:00
2013-08-30 11:55:53 -04:00
2013-09-03 14:51:26 -04:00
2013-08-30 10:20:13 -04:00
2012-12-14 13:06:43 +10:30
2013-08-12 14:46:18 -04:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2013-08-30 11:55:53 -04:00
2013-08-13 16:26:01 -04:00
2013-08-13 16:26:01 -04:00
2013-08-13 16:26:21 -04:00
2013-08-30 11:56:34 -04:00
2013-09-03 14:51:26 -04:00
2013-08-13 16:26:21 -04:00