* [PATCH] i386: init_intel_cacheinfo() can be __init
@ 2005-01-16 5:27 Randy.Dunlap
0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2005-01-16 5:27 UTC (permalink / raw)
To: lkml, akpm
[-- Attachment #1: Type: text/plain, Size: 742 bytes --]
Correct .text references to .init.data; init_intel_cacheinfo()
can be __init.
These are references to:
static struct _cache_table cache_table[] __initdata = ...;
Error: ./arch/i386/kernel/cpu/intel_cacheinfo.o .text refers to
0000008f R_386_32 .init.data
Error: ./arch/i386/kernel/cpu/intel_cacheinfo.o .text refers to
0000009e R_386_32 .init.data
Error: ./arch/i386/kernel/cpu/intel_cacheinfo.o .text refers to
000000a8 R_386_32 .init.data
Error: ./arch/i386/kernel/cpu/intel_cacheinfo.o .text refers to
00000108 R_386_32 .init.data
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
diffstat:=
arch/i386/kernel/cpu/intel_cacheinfo.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
---
[-- Attachment #2: intel_cache_sections.patch --]
[-- Type: text/x-patch, Size: 1318 bytes --]
Correct .text references to .init.data; init_intel_cacheinfo()
can be __init.
These are references to:
static struct _cache_table cache_table[] __initdata = ...;
Error: ./arch/i386/kernel/cpu/intel_cacheinfo.o .text refers to 0000008f R_386_32 .init.data
Error: ./arch/i386/kernel/cpu/intel_cacheinfo.o .text refers to 0000009e R_386_32 .init.data
Error: ./arch/i386/kernel/cpu/intel_cacheinfo.o .text refers to 000000a8 R_386_32 .init.data
Error: ./arch/i386/kernel/cpu/intel_cacheinfo.o .text refers to 00000108 R_386_32 .init.data
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
diffstat:=
arch/i386/kernel/cpu/intel_cacheinfo.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp ./arch/i386/kernel/cpu/intel_cacheinfo.c~intel_cache_sections ./arch/i386/kernel/cpu/intel_cacheinfo.c
--- ./arch/i386/kernel/cpu/intel_cacheinfo.c~intel_cache_sections 2004-12-24 13:35:23.000000000 -0800
+++ ./arch/i386/kernel/cpu/intel_cacheinfo.c 2005-01-07 14:51:03.000000000 -0800
@@ -58,7 +58,7 @@ static struct _cache_table cache_table[]
{ 0x00, 0, 0}
};
-unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c)
+unsigned int __init init_intel_cacheinfo(struct cpuinfo_x86 *c)
{
unsigned int trace = 0, l1i = 0, l1d = 0, l2 = 0, l3 = 0; /* Cache sizes */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-16 5:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-16 5:27 [PATCH] i386: init_intel_cacheinfo() can be __init Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox