diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-06-01 02:34:37 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-06-13 23:58:26 -0400 |
commit | 027dfac694fc27ef0273afb810d9b1f9da57d6e1 (patch) | |
tree | c248c02b9e5c4bf687639d19fd8f5fdcdfbcf445 /arch/powerpc/mm | |
parent | e289086f6530dd85d88967bfceded98bdbcd7f41 (diff) |
powerpc: Various typo fixes
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r-- | arch/powerpc/mm/hash_native_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/mm/hash_native_64.c b/arch/powerpc/mm/hash_native_64.c index 40e05e7f43de..dc57de118cf4 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) | |||
55 | * We need 14 to 65 bits of va for a tlibe of 4K page | 55 | * We need 14 to 65 bits of va for a tlibe of 4K page |
56 | * With vpn we ignore the lower VPN_SHIFT bits already. | 56 | * With vpn we ignore the lower VPN_SHIFT bits already. |
57 | * And top two bits are already ignored because we can | 57 | * And top two bits are already ignored because we can |
58 | * only accomadate 76 bits in a 64 bit vpn with a VPN_SHIFT | 58 | * only accomodate 76 bits in a 64 bit vpn with a VPN_SHIFT |
59 | * of 12. | 59 | * of 12. |
60 | */ | 60 | */ |
61 | va = vpn << VPN_SHIFT; | 61 | va = vpn << VPN_SHIFT; |
@@ -605,7 +605,7 @@ static void hpte_decode(struct hash_pte *hpte, unsigned long slot, | |||
605 | * crashdump and all bets are off anyway. | 605 | * crashdump and all bets are off anyway. |
606 | * | 606 | * |
607 | * TODO: add batching support when enabled. remember, no dynamic memory here, | 607 | * TODO: add batching support when enabled. remember, no dynamic memory here, |
608 | * athough there is the control page available... | 608 | * although there is the control page available... |
609 | */ | 609 | */ |
610 | static void native_hpte_clear(void) | 610 | static void native_hpte_clear(void) |
611 | { | 611 | { |