commit | e2a9cf96a0af24f33206b4bb98cc3a12242260c1 | [log] [tgz] |
---|---|---|
author | Raghu Gandham <raghu@mips.com> | Fri Jul 10 02:01:32 2009 -0700 |
committer | Ralf Baechle <ralf@linux-mips.org> | Mon Aug 03 17:52:48 2009 +0100 |
tree | 7b450b2e1e5643c6283d4ef5bd9c0afb85e74279 | |
parent | 6f9fdeb6761a46ded6bf4b799993a3f235ab853d [diff] [blame] |
MIPS: VPE: Fix compiler warning. Signed-off-by: Raghu Gandham <raghu@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c index 07b9ec2..3d4ef84 100644 --- a/arch/mips/kernel/vpe.c +++ b/arch/mips/kernel/vpe.c
@@ -327,7 +327,8 @@ || (s->sh_flags & masks[m][1]) || s->sh_entsize != ~0UL) continue; - s->sh_entsize = get_offset(&mod->core_size, s); + s->sh_entsize = + get_offset((unsigned long *)&mod->core_size, s); } if (m == 0)