From: Chris Metcalf Date: Mon, 12 Aug 2013 19:08:09 +0000 (-0400) Subject: tile: add virt_to_kpte() API and clean up and document behavior X-Git-Tag: v3.12-rc1~120^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=640710a33b54de8d90ae140ef633ed0feba76a75;p=pandora-kernel.git 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 --- Reading git-diff-tree failed