aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/list_sort.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/list_sort.c b/lib/list_sort.c
index 12bcba1c8612..b29015102698 100644
--- a/lib/list_sort.c
+++ b/lib/list_sort.c
@@ -2,9 +2,11 @@
2#define pr_fmt(fmt) "list_sort_test: " fmt 2#define pr_fmt(fmt) "list_sort_test: " fmt
3 3
4#include <linux/kernel.h> 4#include <linux/kernel.h>
5#include <linux/module.h> 5#include <linux/bug.h>
6#include <linux/compiler.h>
7#include <linux/export.h>
8#include <linux/string.h>
6#include <linux/list_sort.h> 9#include <linux/list_sort.h>
7#include <linux/slab.h>
8#include <linux/list.h> 10#include <linux/list.h>
9 11
10#define MAX_LIST_LENGTH_BITS 20 12#define MAX_LIST_LENGTH_BITS 20
@@ -146,6 +148,7 @@ EXPORT_SYMBOL(list_sort);
146 148
147#ifdef CONFIG_TEST_LIST_SORT 149#ifdef CONFIG_TEST_LIST_SORT
148 150
151#include <linux/slab.h>
149#include <linux/random.h> 152#include <linux/random.h>
150 153
151/* 154/*