ARM: module: fix 'mod' undeclared compile error
PATCH 1/1 ARM: module: fix 'mod' undeclared compile error
Quoted 1 line
From
411fdedb4085fc4371f517a77e47e5669479a8a8Mon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Wed, 1 Dec 2010 15:18:18 +0800
Subject: [PATCH] ARM: module: fix 'mod' undeclared compile error
Fix below compile error:
CC arch/arm/kernel/module.oarch/arm/kernel/module.c: In function 'module_finalize':arch/arm/kernel/module.c:320: error: 'mod' undeclared (first use in this function) arch/arm/kernel/module.c:320: error: (Each undeclared identifier is reported only once arch/arm/kernel/module.c:320: error: for each function it appears in.) make[1]: *** [arch/arm/kernel/module.o] Error 1
make: *** [arch/arm/kernel] Error 2
---
This patch fixes the compile error against today's linux-next tree.
Axel
arch/arm/kernel/module.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/kernel/module.c +1 -1
@@ -277,7 +277,7 @@ struct mod_unwind_map { };int module_finalize (const Elf32_Ehdr *hdr,const Elf_Shdr *sechdrs, -struct module *module) +struct module *mod) {#ifdef CONFIG_ARM_UNWIND const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
Signature · 1 line
1.7.2