]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/list_sort.h
blk-stat: fix blk_stat_sum() if all samples are batched
[mirror_ubuntu-bionic-kernel.git] / include / linux / list_sort.h
CommitLineData
2c761270
DC
1#ifndef _LINUX_LIST_SORT_H
2#define _LINUX_LIST_SORT_H
3
4#include <linux/types.h>
5
6struct list_head;
7
8void list_sort(void *priv, struct list_head *head,
9 int (*cmp)(void *priv, struct list_head *a,
10 struct list_head *b));
11#endif