summaryrefslogtreecommitdiffstats
path: root/include/linux/list_sort.h
blob: 1a2df2efb77165ebdf0b0d7d37cc7e4489f93bd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _LINUX_LIST_SORT_H
#define _LINUX_LIST_SORT_H

#include <linux/types.h>

struct list_head;

void list_sort(void *priv, struct list_head *head,
	       int (*cmp)(void *priv, struct list_head *a,
			  struct list_head *b));
#endif
OpenPOWER on IntegriCloud