summaryrefslogtreecommitdiff
path: root/init/main.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2014-05-02 00:44:38 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2014-05-05 16:07:46 -0700
commit722a9f9299ca720a3f14660e7c0dce7b76a9cb42 (patch)
tree5fca879a2c23d9c7704512c11b958d70cf4fc1bb /init/main.c
parent2605fc216fa492f9e7c488bdc7f687cd6dcc703b (diff)
asmlinkage: Add explicit __visible to drivers/*, lib/*, kernel/*
As requested by Linus add explicit __visible to the asmlinkage users. This marks functions visible to assembler. Tree sweep for rest of tree. Signed-off-by: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1398984278-29319-4-git-send-email-andi@firstfloor.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c
index 9c7fd4c9249f..48655ceb66f4 100644
--- a/init/main.c
+++ b/init/main.c
@@ -476,7 +476,7 @@ static void __init mm_init(void)
vmalloc_init();
}
-asmlinkage void __init start_kernel(void)
+asmlinkage __visible void __init start_kernel(void)
{
char * command_line;
extern const struct kernel_param __start___param[], __stop___param[];