Commit 7a7d744f authored by Bhaskar Chowdhury's avatar Bhaskar Chowdhury Committed by Michael Ellerman
Browse files

powerpc/mm/book3s64: Fix a typo in mmu_context.c

parent f239873f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ static int hash__init_new_context(struct mm_struct *mm)
		/* This is fork. Copy hash_context details from current->mm */
		memcpy(mm->context.hash_context, current->mm->context.hash_context, sizeof(struct hash_mm_context));
#ifdef CONFIG_PPC_SUBPAGE_PROT
		/* inherit subpage prot detalis if we have one. */
		/* inherit subpage prot details if we have one. */
		if (current->mm->context.hash_context->spt) {
			mm->context.hash_context->spt = kmalloc(sizeof(struct subpage_prot_table),
								GFP_KERNEL);