Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217572
b: refs/heads/master
c: 6d411e6
h: refs/heads/master
v: v3
  • Loading branch information
Artem Bityutskiy authored and Linus Torvalds committed Oct 26, 2010
1 parent 0418499 commit eb3a002
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e2852ae825dba5ebc159788720baec1a28a57125
refs/heads/master: 6d411e6c01608cefb7b9ea6712110538a1432f9f
9 changes: 9 additions & 0 deletions trunk/lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,15 @@ config DEBUG_LIST

If unsure, say N.

config TEST_LIST_SORT
bool "Linked list sorting test"
depends on DEBUG_KERNEL
help
Enable this to turn on 'list_sort()' function test. This test is
executed only once during system boot, so affects only boot time.

If unsure, say N.

config DEBUG_SG
bool "Debug SG table operations"
depends on DEBUG_KERNEL
Expand Down
4 changes: 2 additions & 2 deletions trunk/lib/list_sort.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void list_sort(void *priv, struct list_head *head,
}
EXPORT_SYMBOL(list_sort);

#ifdef DEBUG_LIST_SORT
#ifdef CONFIG_TEST_LIST_SORT
struct debug_el {
struct list_head l_h;
int value;
Expand Down Expand Up @@ -214,4 +214,4 @@ static int __init list_sort_test(void)
return 0;
}
module_init(list_sort_test);
#endif
#endif /* CONFIG_TEST_LIST_SORT */

0 comments on commit eb3a002

Please sign in to comment.