diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2020-04-20 21:36:36 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-05-11 16:15:15 +0300 |
commit | b711531641038f3ff3723914f3d5ba79848d347e (patch) | |
tree | 724ece0b12db6f2fe9891edfa31aad1ae53a42a5 /arch/powerpc/mm/book3s64/hash_tlb.c | |
parent | e96d904ede6756641563d27daa746875b478a6c8 (diff) | |
download | linux-b711531641038f3ff3723914f3d5ba79848d347e.tar.xz |
powerpc: Replace _ALIGN_UP() by ALIGN()
_ALIGN_UP() is specific to powerpc
ALIGN() is generic and does the same
Replace _ALIGN_UP() by ALIGN()
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/8a6d7e45f7904c73a0af539642d3962e2a3c7268.1587407777.git.christophe.leroy@c-s.fr
Diffstat (limited to 'arch/powerpc/mm/book3s64/hash_tlb.c')
-rw-r--r-- | arch/powerpc/mm/book3s64/hash_tlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/book3s64/hash_tlb.c b/arch/powerpc/mm/book3s64/hash_tlb.c index a500979fbc59..0fbf3dc9f2c2 100644 --- a/arch/powerpc/mm/book3s64/hash_tlb.c +++ b/arch/powerpc/mm/book3s64/hash_tlb.c @@ -194,7 +194,7 @@ void __flush_hash_table_range(unsigned long start, unsigned long end) unsigned long flags; start = ALIGN_DOWN(start, PAGE_SIZE); - end = _ALIGN_UP(end, PAGE_SIZE); + end = ALIGN(end, PAGE_SIZE); /* |