diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/vpe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c index 07b9ec2c6e3d..3d4ef841d829 100644 --- a/arch/mips/kernel/vpe.c +++ b/arch/mips/kernel/vpe.c | |||
@@ -327,7 +327,8 @@ static void layout_sections(struct module *mod, const Elf_Ehdr * hdr, | |||
327 | || (s->sh_flags & masks[m][1]) | 327 | || (s->sh_flags & masks[m][1]) |
328 | || s->sh_entsize != ~0UL) | 328 | || s->sh_entsize != ~0UL) |
329 | continue; | 329 | continue; |
330 | s->sh_entsize = get_offset(&mod->core_size, s); | 330 | s->sh_entsize = |
331 | get_offset((unsigned long *)&mod->core_size, s); | ||
331 | } | 332 | } |
332 | 333 | ||
333 | if (m == 0) | 334 | if (m == 0) |