From ea6fb41752dda2e450bd8a318c7400f8cfa9111e Mon Sep 17 00:00:00 2001 From: Al Viro Date: Thu, 23 Feb 2012 01:33:19 -0500 Subject: um: embed ->stub_pages[] into mmu_context seriously, kmalloc() for two-element array of pointers? Signed-off-by: Al Viro --- arch/um/include/asm/mmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/um/include/asm/mmu.h') diff --git a/arch/um/include/asm/mmu.h b/arch/um/include/asm/mmu.h index 30509b9f37fd..53e8b498ebba 100644 --- a/arch/um/include/asm/mmu.h +++ b/arch/um/include/asm/mmu.h @@ -12,7 +12,7 @@ typedef struct mm_context { struct mm_id id; struct uml_arch_mm_context arch; - struct page **stub_pages; + struct page *stub_pages[2]; } mm_context_t; extern void __switch_mm(struct mm_id * mm_idp); -- cgit v1.2.3