[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46B0A48B.3090606@googlemail.com>
Date: Wed, 01 Aug 2007 17:19:39 +0200
From: Gabriel C <nix.or.die@...glemail.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: linux-kernel@...r.kernel.org, Sam Ravnborg <sam@...nborg.org>
Subject: [PATCH -mm] Fix a section mismatch warning
...
WARNING: vmlinux.o(.text+0x8b9f): Section mismatch: reference to .init.text:cache_remove_shared_cpu_map (between 'cpuid4_cache_sysfs_exit' and 'unexpected_machine_check')
...
Signed-off-by: Gabriel Craciunescu <nix.or.die@...glemail.com>
---
--- linux-2.6.23-rc1-mm/arch/i386/kernel/cpu/intel_cacheinfo.c.orig 2007-08-01 17:10:27.000000000 +0200
+++ linux-2.6.23-rc1-mm/arch/i386/kernel/cpu/intel_cacheinfo.c 2007-08-01 17:11:37.000000000 +0200
@@ -681,7 +681,7 @@ static struct kobj_type ktype_percpu_ent
.sysfs_ops = &sysfs_ops,
};
-static void cpuid4_cache_sysfs_exit(unsigned int cpu)
+static void __cpuinit cpuid4_cache_sysfs_exit(unsigned int cpu)
{
kfree(cache_kobject[cpu]);
kfree(index_kobject[cpu]);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists