Message ID | 20160521120636.11948-1-andrea.gelmini@gelma.net (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Sat, May 21, 2016 at 02:06:36PM +0200, Andrea Gelmini wrote: > Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net> > --- > arch/powerpc/mm/hash_native_64.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/powerpc/mm/hash_native_64.c b/arch/powerpc/mm/hash_native_64.c > index d873f65..0a4560d 100644 > --- a/arch/powerpc/mm/hash_native_64.c > +++ b/arch/powerpc/mm/hash_native_64.c > @@ -55,7 +55,7 @@ static inline void __tlbie(unsigned long vpn, int psize, int apsize, int ssize) > * We need 14 to 65 bits of va for a tlibe of 4K page > * With vpn we ignore the lower VPN_SHIFT bits already. > * And top two bits are already ignored because we can > - * only accomadate 76 bits in a 64 bit vpn with a VPN_SHIFT > + * only accomodate 76 bits in a 64 bit vpn with a VPN_SHIFT accommodate
diff --git a/arch/powerpc/mm/hash_native_64.c b/arch/powerpc/mm/hash_native_64.c index d873f65..0a4560d 100644 --- a/arch/powerpc/mm/hash_native_64.c +++ b/arch/powerpc/mm/hash_native_64.c @@ -55,7 +55,7 @@ static inline void __tlbie(unsigned long vpn, int psize, int apsize, int ssize) * We need 14 to 65 bits of va for a tlibe of 4K page * With vpn we ignore the lower VPN_SHIFT bits already. * And top two bits are already ignored because we can - * only accomadate 76 bits in a 64 bit vpn with a VPN_SHIFT + * only accomodate 76 bits in a 64 bit vpn with a VPN_SHIFT * of 12. */ va = vpn << VPN_SHIFT; @@ -601,7 +601,7 @@ static void hpte_decode(struct hash_pte *hpte, unsigned long slot, * crashdump and all bets are off anyway. * * TODO: add batching support when enabled. remember, no dynamic memory here, - * athough there is the control page available... + * although there is the control page available... */ static void native_hpte_clear(void) {
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net> --- arch/powerpc/mm/hash_native_64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)