aboutsummaryrefslogtreecommitdiffstats
path: root/arch/hexagon/include/asm/pgalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/hexagon/include/asm/pgalloc.h')
-rw-r--r--arch/hexagon/include/asm/pgalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/hexagon/include/asm/pgalloc.h b/arch/hexagon/include/asm/pgalloc.h
index 4c9d382d7798..77da3b0ae3c2 100644
--- a/arch/hexagon/include/asm/pgalloc.h
+++ b/arch/hexagon/include/asm/pgalloc.h
@@ -45,7 +45,7 @@ static inline pgd_t *pgd_alloc(struct mm_struct *mm)
45 * map with a copy of the kernel's persistent map. 45 * map with a copy of the kernel's persistent map.
46 */ 46 */
47 47
48 memcpy(pgd, swapper_pg_dir, PTRS_PER_PGD*sizeof(pgd_t *)); 48 memcpy(pgd, swapper_pg_dir, PTRS_PER_PGD*sizeof(pgd_t));
49 mm->context.generation = kmap_generation; 49 mm->context.generation = kmap_generation;
50 50
51 /* Physical version is what is passed to virtual machine on switch */ 51 /* Physical version is what is passed to virtual machine on switch */