summaryrefslogtreecommitdiff
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorKim Kibum <kb0929.kim@samsung.com>2012-04-29 16:59:19 +0900
committerKim Kibum <kb0929.kim@samsung.com>2012-04-29 16:59:19 +0900
commitc1775d1a93a77a57380a4ce87ac3a8f807c944b2 (patch)
treee1f233f2af38ee247a677082198dd3a69a12a5a1 /lib/dump_stack.c
parent2c2dcd5ffef2e97176e6a55e45512177e55e6fb9 (diff)
downloadlinux-2.6.36-2.0alpha.tar.gz
linux-2.6.36-2.0alpha.tar.bz2
linux-2.6.36-2.0alpha.zip
upload tizen1.0 sourceHEADmaster2.0alpha
Diffstat (limited to 'lib/dump_stack.c')
-rw-r--r--lib/dump_stack.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/dump_stack.c b/lib/dump_stack.c
new file mode 100644
index 00000000..53bff4c8
--- /dev/null
+++ b/lib/dump_stack.c
@@ -0,0 +1,15 @@
+/*
+ * Provide a default dump_stack() function for architectures
+ * which don't implement their own.
+ */
+
+#include <linux/kernel.h>
+#include <linux/module.h>
+
+void dump_stack(void)
+{
+ printk(KERN_NOTICE
+ "This architecture does not implement dump_stack()\n");
+}
+
+EXPORT_SYMBOL(dump_stack);