summaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2013-08-05 15:02:48 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2013-08-06 14:21:01 -0700
commitb6c035d04e80b4244a143e34e51c84cf2181bd94 (patch)
treea750c95ca3e8dcab952ec808d186d84e06c59b19 /lib/dump_stack.c
parent4a335c0695074c1fd2ede7f919b0064f53d35c3f (diff)
downloadlinux-b6c035d04e80b4244a143e34e51c84cf2181bd94.tar.gz
linux-b6c035d04e80b4244a143e34e51c84cf2181bd94.tar.bz2
linux-b6c035d04e80b4244a143e34e51c84cf2181bd94.zip
x86, asmlinkage: Make dump_stack visible
dump_stack is used from assembler code, so make it visible. Signed-off-by: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1375740170-7446-15-git-send-email-andi@firstfloor.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'lib/dump_stack.c')
-rw-r--r--lib/dump_stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dump_stack.c b/lib/dump_stack.c
index c03154173cc7..f23b63f0a1c3 100644
--- a/lib/dump_stack.c
+++ b/lib/dump_stack.c
@@ -23,7 +23,7 @@ static void __dump_stack(void)
#ifdef CONFIG_SMP
static atomic_t dump_lock = ATOMIC_INIT(-1);
-void dump_stack(void)
+asmlinkage void dump_stack(void)
{
int was_locked;
int old;
@@ -55,7 +55,7 @@ retry:
preempt_enable();
}
#else
-void dump_stack(void)
+asmlinkage void dump_stack(void)
{
__dump_stack();
}