mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
tools: Copy lib/rbtree.c to tools/lib/
So that we can remove kernel specific stuff we've been stubbing out via a tools/include/linux/export.h that gets removed in this patch and to avoid breakages in the future like the one fixed recently where rcupdate.h started being used in rbtree.h. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Borislav Petkov <bp@suse.de> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-rxuzfsozpb8hv1emwpx06rm6@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -1,10 +0,0 @@
|
|||||||
#ifndef _TOOLS_LINUX_EXPORT_H_
|
|
||||||
#define _TOOLS_LINUX_EXPORT_H_
|
|
||||||
|
|
||||||
#define EXPORT_SYMBOL(sym)
|
|
||||||
#define EXPORT_SYMBOL_GPL(sym)
|
|
||||||
#define EXPORT_SYMBOL_GPL_FUTURE(sym)
|
|
||||||
#define EXPORT_UNUSED_SYMBOL(sym)
|
|
||||||
#define EXPORT_UNUSED_SYMBOL_GPL(sym)
|
|
||||||
|
|
||||||
#endif
|
|
||||||
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -18,6 +18,7 @@ tools/arch/x86/include/asm/atomic.h
|
|||||||
tools/arch/x86/include/asm/rmwcc.h
|
tools/arch/x86/include/asm/rmwcc.h
|
||||||
tools/lib/traceevent
|
tools/lib/traceevent
|
||||||
tools/lib/api
|
tools/lib/api
|
||||||
|
tools/lib/rbtree.c
|
||||||
tools/lib/symbol/kallsyms.c
|
tools/lib/symbol/kallsyms.c
|
||||||
tools/lib/symbol/kallsyms.h
|
tools/lib/symbol/kallsyms.h
|
||||||
tools/lib/util/find_next_bit.c
|
tools/lib/util/find_next_bit.c
|
||||||
@@ -55,7 +56,6 @@ include/linux/list.h
|
|||||||
include/linux/hash.h
|
include/linux/hash.h
|
||||||
include/linux/stringify.h
|
include/linux/stringify.h
|
||||||
lib/hweight.c
|
lib/hweight.c
|
||||||
lib/rbtree.c
|
|
||||||
include/linux/swab.h
|
include/linux/swab.h
|
||||||
arch/*/include/asm/unistd*.h
|
arch/*/include/asm/unistd*.h
|
||||||
arch/*/include/uapi/asm/unistd*.h
|
arch/*/include/uapi/asm/unistd*.h
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ $(OUTPUT)util/find_next_bit.o: ../lib/util/find_next_bit.c FORCE
|
|||||||
$(call rule_mkdir)
|
$(call rule_mkdir)
|
||||||
$(call if_changed_dep,cc_o_c)
|
$(call if_changed_dep,cc_o_c)
|
||||||
|
|
||||||
$(OUTPUT)util/rbtree.o: ../../lib/rbtree.c FORCE
|
$(OUTPUT)util/rbtree.o: ../lib/rbtree.c FORCE
|
||||||
$(call rule_mkdir)
|
$(call rule_mkdir)
|
||||||
$(call if_changed_dep,cc_o_c)
|
$(call if_changed_dep,cc_o_c)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user