diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-02-23 01:33:19 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-20 21:29:50 -0400 |
commit | ea6fb41752dda2e450bd8a318c7400f8cfa9111e (patch) | |
tree | 68b741ba0024029578f35cde5f4a8f7ad4ed6688 /arch/um/include | |
parent | 104bb37d3e0eb576b6aa61b9ed909e118e026bd2 (diff) |
um: embed ->stub_pages[] into mmu_context
seriously, kmalloc() for two-element array of pointers?
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/asm/mmu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/asm/mmu.h b/arch/um/include/asm/mmu.h index 30509b9f37f..53e8b498ebb 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); |