OrangePi_CM5/tools/include/linux
Arnaldo Carvalho de Melo 2fc7f18ba2 tools headers: Remove broken definition of __LITTLE_ENDIAN
commit fa2c02e5798c17c89cbb3135940086ebe07e5c9f upstream.

The linux/kconfig.h file was copied from the kernel but the line where
with the generated/autoconf.h include from where the CONFIG_ entries
would come from was deleted, as tools/ build system don't create that
file, so we ended up always defining just __LITTLE_ENDIAN as
CONFIG_CPU_BIG_ENDIAN was nowhere to be found.

This in turn ended up breaking the build in some systems where
__LITTLE_ENDIAN was already defined, such as the androind NDK.

So just ditch that block that depends on the CONFIG_CPU_BIG_ENDIAN
define.

The kconfig.h file was copied just to get IS_ENABLED() and a
'make -C tools/all' doesn't breaks with this removal.

Fixes: 93281c4a96572a34 ("x86/insn: Add an insn_decode() API")
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lore.kernel.org/lkml/YO8hK7lqJcIWuBzx@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-25 11:26:56 +02:00
..
sched
…
unaligned
…
atomic.h
…
bitmap.h
…
bitops.h
…
bits.h linux/bits.h: fix compilation error with GENMASK 2021-06-03 09:00:45 +02:00
btf_ids.h btf: Add BTF_ID_LIST_SINGLE macro 2020-09-21 15:00:40 -07:00
bug.h
…
build_bug.h tools headers: Synchronize linux/bits.h with the kernel sources 2020-04-14 11:40:05 -03:00
compiler-gcc.h perf tools: Remove broken __no_tail_call attribute 2020-11-03 08:32:15 -03:00
compiler.h perf tools: Remove broken __no_tail_call attribute 2020-11-03 08:32:15 -03:00
const.h linux/bits.h: fix compilation error with GENMASK 2021-06-03 09:00:45 +02:00
coresight-pmu.h
…
ctype.h
…
debug_locks.h
…
delay.h
…
err.h
…
export.h
…
filter.h
…
ftrace.h
…
gfp.h
…
hardirq.h
…
hash.h
…
hashtable.h
…
interrupt.h
…
irqflags.h lockdep: Remove lockdep_hardirq{s_enabled,_context}() argument 2020-07-10 12:00:02 +02:00
jhash.h tools/: replace HTTP links with HTTPS ones 2020-08-07 11:33:21 -07:00
kallsyms.h kallsyms/printk: add loglvl to print_ip_sym() 2020-06-09 09:39:10 -07:00
kconfig.h tools headers: Remove broken definition of __LITTLE_ENDIAN 2022-07-25 11:26:56 +02:00
kern_levels.h
…
kernel.h tools headers: Synchronize linux/bits.h with the kernel sources 2020-04-14 11:40:05 -03:00
linkage.h
…
list.h
…
lockdep.h
…
log2.h
…
module.h
…
mutex.h
…
nmi.h
…
numa.h
…
objtool.h objtool: Re-add UNWIND_HINT_{SAVE_RESTORE} 2022-07-25 11:26:47 +02:00
overflow.h
…
poison.h
…
proc_fs.h
…
rbtree.h docs: Add rbtree documentation to the core-api 2020-04-21 10:29:19 -06:00
rbtree_augmented.h docs: Add rbtree documentation to the core-api 2020-04-21 10:29:19 -06:00
rcu.h
…
refcount.h
…
ring_buffer.h
…
seq_file.h
…
sizes.h
…
spinlock.h
…
stacktrace.h
…
static_call_types.h static_call: Allow module use without exposing static_call_key 2021-03-30 14:31:53 +02:00
string.h tools lib: Adopt memchr_inv() from kernel 2021-09-26 14:08:57 +02:00
stringify.h
…
time64.h
…
types.h
…
zalloc.h
…