summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2012-02-02 16:58:05 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2012-02-02 16:58:05 +0800
commit599a980adc5c2ba32f6aedcd87640b781d347d1f (patch)
tree9163c58e47cf900303b6db19d2e6bd4468a43ecb /lib
parent203993cd89ec6395b6bfba948c2e424680dd622e (diff)
parenta65e28a0149261776678977962cfa0f90973e1d4 (diff)
Merge branch 'android-3.0' into imx_3.0.15_android
Conflicts: drivers/misc/Kconfig drivers/misc/Makefile drivers/net/wireless/Makefile kernel/power/main.c sound/soc/soc-core.c
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug3
-rw-r--r--lib/plist.c7
2 files changed, 3 insertions, 7 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index dd373c8ee943..c6b006a936fb 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -667,8 +667,9 @@ config DEBUG_LOCKING_API_SELFTESTS
mutexes and rwsems.
config STACKTRACE
- bool
+ bool "Stacktrace"
depends on STACKTRACE_SUPPORT
+ default y
config DEBUG_STACK_USAGE
bool "Stack utilization instrumentation"
diff --git a/lib/plist.c b/lib/plist.c
index 0ae7e6431726..a0a4da489c22 100644
--- a/lib/plist.c
+++ b/lib/plist.c
@@ -56,11 +56,6 @@ static void plist_check_list(struct list_head *top)
static void plist_check_head(struct plist_head *head)
{
- WARN_ON(head != &test_head && !head->rawlock && !head->spinlock);
- if (head->rawlock)
- WARN_ON_SMP(!raw_spin_is_locked(head->rawlock));
- if (head->spinlock)
- WARN_ON_SMP(!spin_is_locked(head->spinlock));
if (!plist_head_empty(head))
plist_check_list(&plist_first(head)->prio_list);
plist_check_list(&head->node_list);
@@ -180,7 +175,7 @@ static int __init plist_test(void)
unsigned int r = local_clock();
printk(KERN_INFO "start plist test\n");
- plist_head_init(&test_head, NULL);
+ plist_head_init(&test_head);
for (i = 0; i < ARRAY_SIZE(test_node); i++)
plist_node_init(test_node + i, 0);