linux_dsm_epyc7002/tools/include/linux
Arnaldo Carvalho de Melo 259d40775e tools include linux: Guard against redefinition of some macros
When cross building to android r15c (and older versions) on Fedora 26
we notice these:

/opt/android-ndk-r15c/platforms/android-24/arch-arm/usr/include/sys/cdefs.h:332:0: note: this is the location of the previous definition

For __aligned, __packed and __noreturn, so guard those with ifdefs to
avoid drowning useful warnings in these.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-d7w3fa9c22dtmrwbedos6ie1@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-09-12 12:33:39 -03:00
..
sched tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
unaligned tools/lib/lockdep: Fix compilation for 4.11 2017-06-05 09:28:09 +02:00
atomic.h tools include: Introduce atomic_cmpxchg_{relaxed,release}() 2017-03-03 19:07:14 -03:00
bitmap.h radix tree test suite: Remove duplicate bitops code 2017-01-27 21:29:39 -05:00
bitops.h tools/lib/lockdep: Fix compilation for 4.11 2017-06-05 09:28:09 +02:00
bug.h tools include: Introduce linux/bug.h, from the kernel sources 2017-04-19 13:01:42 -03:00
compiler-gcc.h tools include linux: Guard against redefinition of some macros 2017-09-12 12:33:39 -03:00
compiler.h Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-07-03 12:40:46 -07:00
coresight-pmu.h tools: Copy coresight-pmu.h header file needed by perf tools 2016-08-23 15:37:33 -03:00
debug_locks.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
delay.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
err.h tools/include: Add IS_ERR_OR_NULL to err.h 2017-06-05 09:28:12 +02:00
export.h tools: Restore export.h 2015-08-25 09:44:22 +02:00
filter.h bpf: add various verifier test cases 2017-05-25 13:44:28 -04:00
ftrace.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
gfp.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
hardirq.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
hash.h tools: Copy linux/{hash,poison}.h and check for drift 2016-07-18 18:41:50 -03:00
hashtable.h tools include: Drop ARRAY_SIZE() definition from linux/hashtable.h 2017-04-19 13:01:45 -03:00
interrupt.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
irqflags.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
jhash.h tools/lib/lockdep: Fix compilation for 4.11 2017-06-05 09:28:09 +02:00
kallsyms.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
kern_levels.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
kernel.h Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-07-03 12:40:46 -07:00
kmemcheck.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
linkage.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
list.h tools: Make list.h self-sufficient 2016-01-12 12:42:07 -03:00
lockdep.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
log2.h tools include: Include missing headers for fls() and types in linux/log2.h 2017-04-19 13:01:49 -03:00
module.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
mutex.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
poison.h tools: Copy linux/{hash,poison}.h and check for drift 2016-07-18 18:41:50 -03:00
proc_fs.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
rbtree_augmented.h tools: Copy rbtree_augmented.h from the kernel 2015-07-05 22:59:05 -03:00
rbtree.h tools: Move rbtree.h from tools/perf/ 2015-07-05 22:54:01 -03:00
rcu.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
refcount.h tools include: Adopt kernel's refcount.h 2017-03-03 19:07:14 -03:00
seq_file.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
spinlock.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
stacktrace.h tools/lib/lockdep: Remove private kernel headers 2017-06-05 09:28:14 +02:00
string.h tools include: Adopt strstarts() from the kernel 2017-07-20 15:46:10 -03:00
stringify.h tools include: Copy linux/stringify.h from the kernel 2016-03-23 15:14:27 -03:00
time64.h tools: Introduce tools/include/linux/time64.h for *SEC_PER_*SEC macros 2016-08-23 15:37:33 -03:00
types.h tools include uapi: Grab copies of stat.h and fcntl.h 2017-03-31 11:26:03 -03:00