commit | 5524a27d39b68770f203d8d42eb5a95dde4933bc | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Mon Sep 10 02:52:50 2012 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Sep 17 16:31:49 2012 +1000 |
tree | a238d67d29bce6fd893cd4c5545b5daf058ba5fd | |
parent | dcda287a9b26309ae43a091d0ecde16f8f61b4c0 [diff] |
powerpc/mm: Convert virtual address to vpn This patch convert different functions to take virtual page number instead of virtual address. Virtual page number is virtual address shifted right by VPN_SHIFT (12) bits. This enable us to have an address range of upto 76 bits. Reviewed-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>