summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-05-17 22:43:54 +0400
committerSam Ravnborg <sam@ravnborg.org>2007-05-19 11:11:58 +0400
commit92080309df1975729a9f8b45fd56528817e34db8 (patch)
treef82ec2fb2b1d5fa68af807b6acb1b033c7a34e17 /init
parent0e0d314e6a01bb14d303e35e6f7ba24b17020044 (diff)
downloadlinux-92080309df1975729a9f8b45fd56528817e34db8.tar.xz
init/main: use __init_refok to fix section mismatch
Kill a special case in modpost by introducing the __init_refok marker. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'init')
-rw-r--r--init/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c
index 1940fa75e82e..eb8bdbae4fc7 100644
--- a/init/main.c
+++ b/init/main.c
@@ -423,7 +423,7 @@ static void __init setup_command_line(char *command_line)
* gcc-3.4 accidentally inlines this function, so use noinline.
*/
-static void noinline rest_init(void)
+static void noinline __init_refok rest_init(void)
__releases(kernel_lock)
{
int pid;