projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffbe552
)
[PATCH] hd: eliminate bad section references
author
maximilian attems
<janitor@sternwelten.at>
Sat, 16 Apr 2005 22:25:52 +0000
(15:25 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:25:52 +0000
(15:25 -0700)
Fix hd section references:
make parse_hd_setup() __init
Error: ./drivers/ide/legacy/hd.o .text refers to
00000943
R_386_PC32
.init.text
Signed-off-by: maximilian attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/legacy/hd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ide/legacy/hd.c
b/drivers/ide/legacy/hd.c
index c4090550ec130da0d93ff7e5b6b37ae2fcbdb5aa..e884cd4b22fdeaccab4310a801d1296ee3b73ff3 100644
(file)
--- a/
drivers/ide/legacy/hd.c
+++ b/
drivers/ide/legacy/hd.c
@@
-851,7
+851,7
@@
Enomem:
goto out;
}
-static int parse_hd_setup (char *line) {
+static int
__init
parse_hd_setup (char *line) {
int ints[6];
(void) get_options(line, ARRAY_SIZE(ints), ints);