summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/sun3_pgalloc.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2023-10-06 16:41:11 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2023-10-16 14:30:39 +0200
commit50802d84cb030e94f85082166ab9dead4d8b5258 (patch)
treeb38ddcf5efd28825972c2f2721a211b26d0c0574 /arch/m68k/include/asm/sun3_pgalloc.h
parent88514531230010f0f4802bc133ef8c6f98488ed4 (diff)
m68k: sun3: Fix indentation by 5 or 7 spaces
Indentation should use TABs, not spaces. Fix whitespace in reindented code while at it. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/167216dfe9795056b7a69415695772887aca6d80.1696602993.git.geert@linux-m68k.org
Diffstat (limited to 'arch/m68k/include/asm/sun3_pgalloc.h')
-rw-r--r--arch/m68k/include/asm/sun3_pgalloc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/m68k/include/asm/sun3_pgalloc.h b/arch/m68k/include/asm/sun3_pgalloc.h
index ff48573db2c0..4a137eecb6fe 100644
--- a/arch/m68k/include/asm/sun3_pgalloc.h
+++ b/arch/m68k/include/asm/sun3_pgalloc.h
@@ -41,12 +41,12 @@ static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t page
static inline pgd_t * pgd_alloc(struct mm_struct *mm)
{
- pgd_t *new_pgd;
+ pgd_t *new_pgd;
- new_pgd = (pgd_t *)get_zeroed_page(GFP_KERNEL);
- memcpy(new_pgd, swapper_pg_dir, PAGE_SIZE);
- memset(new_pgd, 0, (PAGE_OFFSET >> PGDIR_SHIFT));
- return new_pgd;
+ new_pgd = (pgd_t *)get_zeroed_page(GFP_KERNEL);
+ memcpy(new_pgd, swapper_pg_dir, PAGE_SIZE);
+ memset(new_pgd, 0, (PAGE_OFFSET >> PGDIR_SHIFT));
+ return new_pgd;
}
#endif /* SUN3_PGALLOC_H */