Logo
Explore Help
Sign In
Linux/u-boot-bpi-r3
1
0
Fork 0
You've already forked u-boot-bpi-r3
mirror of https://github.com/frank-w/u-boot.git synced 2026-01-22 16:53:37 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
3b6129702489ef4e327adeeef79ad73da8f6b59d
u-boot-bpi-r3/include/linux/list_sort.h

12 lines
238 B
C
Raw Normal View History

lib, list_sort: add list_sort from linux 3.14 from linux 3.14: commit 455c6fdbd219161bd09b1165f11699d6d73de11c Author: Linus Torvalds <torvalds@linux-foundation.org> Date: Sun Mar 30 20:40:15 2014 -0700 Linux 3.14 Needed for the MTD/UBI/UBIFS resync Just copied the files from Linux, and added in the c-file the "#define __UBOOT__" for adding U-Boot special code. In this case we use this just for adding including U-Boot headers. Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Sergey Lapin <slapin@ossfans.org> Cc: Scott Wood <scottwood@freescale.com> Cc: Tom Rini <trini@ti.com>
2014-06-24 10:10:01 +02:00
#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
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 200ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API