commit | c6a3c495f05a070d4c4016d4a51c384cba723971 | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Tue Dec 01 09:06:50 2015 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Dec 14 15:19:12 2015 +1100 |
tree | 6d80845b8ff67e57533312085de88c5fb67c16d2 | |
parent | a43c0eb8364c022725df586e91dd753633374d66 [diff] |
powerpc/mm: Add helper for converting pte bit to hpte bits Instead of open coding it in multiple code paths, export the helper and add more documentation. Also make sure we don't make assumption regarding pte bit position Acked-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>