]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib, rbtree: resync with Linux-3.14
authorHeiko Schocher <hs@denx.de>
Tue, 24 Jun 2014 08:10:00 +0000 (10:10 +0200)
committerTom Rini <trini@ti.com>
Mon, 25 Aug 2014 21:02:33 +0000 (17:02 -0400)
commit9dd228b5e702edb3295fe5cfee5e46e87233dc72
treea0b1141d1f34dd9d9a3ac1eb6a87746bcdf2f33e
parent7bee1c91a94db19bd26f92cc67be35d3592c6429
lib, rbtree: resync with Linux-3.14

resync with linux:

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, changed the license file header,
and add in the c-file:

+#define __UBOOT__
 #include <linux/rbtree_augmented.h>
+#ifndef __UBOOT__
 #include <linux/export.h>
+#else
+#include <ubi_uboot.h>
+#endif

so, it compiles for U-Boot.

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>
include/linux/rbtree.h
include/linux/rbtree_augmented.h [new file with mode: 0644]
lib/rbtree.c