projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75c96f8
)
[PATCH] cyrix: eliminate bad section references
author
maximilian attems
<janitor@sternwelten.at>
Thu, 5 May 2005 23:16:10 +0000
(16:16 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:36:47 +0000
(16:36 -0700)
Fix cyrix section references:
convert __initdata to __devinitdata.
Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to
00000379
R_386_32 .init.data
Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to
00000399
R_386_32 .init.data
Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to
000003b3
R_386_32 .init.data
Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to
000003b9
R_386_32 .init.data
Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to
000003bf
R_386_32 .init.data
Signed-of-by: maximilian attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/mtrr/cyrix.c
patch
|
blob
|
history
diff --git
a/arch/i386/kernel/cpu/mtrr/cyrix.c
b/arch/i386/kernel/cpu/mtrr/cyrix.c
index 933b0dd62f485524658bb4f1f813c9af2ec4b30a..9027a987006b93890f17363f2d4fac4c749e7f23 100644
(file)
--- a/
arch/i386/kernel/cpu/mtrr/cyrix.c
+++ b/
arch/i386/kernel/cpu/mtrr/cyrix.c
@@
-218,12
+218,12
@@
typedef struct {
mtrr_type type;
} arr_state_t;
-static arr_state_t arr_state[8] __initdata = {
+static arr_state_t arr_state[8] __
dev
initdata = {
{0UL, 0UL, 0UL}, {0UL, 0UL, 0UL}, {0UL, 0UL, 0UL}, {0UL, 0UL, 0UL},
{0UL, 0UL, 0UL}, {0UL, 0UL, 0UL}, {0UL, 0UL, 0UL}, {0UL, 0UL, 0UL}
};
-static unsigned char ccr_state[7] __initdata = { 0, 0, 0, 0, 0, 0, 0 };
+static unsigned char ccr_state[7] __
dev
initdata = { 0, 0, 0, 0, 0, 0, 0 };
static void cyrix_set_all(void)
{