| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH 08/15] Fix compiler warning in vpe.c |
| From: | Raghu Gandham <raghu@mips.com> |
| Date: | Wed, 01 Jul 2009 19:41:42 -0700 |
| Cc: | chris@mips.com |
| In-reply-to: | <20090702023938.23268.65453.stgit@linux-raghu> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20090702023938.23268.65453.stgit@linux-raghu> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | StGIT/0.14.3 |
Signed-off-by: Raghu Gandham (raghu@mips.com)
---
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 07b9ec2..3d4ef84 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,
|| (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)
|
| Previous by Date: | [PATCH 07/15] APRP Patch04: Propagate final value of max_low_pfn to max_pfn, Raghu Gandham |
|---|---|
| Next by Date: | [PATCH 09/15] Add debug prints during CPU intialization., Raghu Gandham |
| Previous by Thread: | [PATCH 07/15] APRP Patch04: Propagate final value of max_low_pfn to max_pfn, Raghu Gandham |
| Next by Thread: | [PATCH 09/15] Add debug prints during CPU intialization., Raghu Gandham |
| Indexes: | [Date] [Thread] [Top] [All Lists] |