linux/arch/metag/kernel
Alexander Potapenko be7635e728 arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections
KASAN needs to know whether the allocation happens in an IRQ handler.
This lets us strip everything below the IRQ entry point to reduce the
number of unique stack traces needed to be stored.

Move the definition of __irq_entry to <linux/interrupt.h> so that the
users don't need to pull in <linux/ftrace.h>.  Also introduce the
__softirq_entry macro which is similar to __irq_entry, but puts the
corresponding functions to the .softirqentry.text section.

Signed-off-by: Alexander Potapenko <glider@google.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Andrey Konovalov <adech.fo@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Konstantin Serebryany <kcc@google.com>
Cc: Dmitry Chernenkov <dmitryc@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-03-25 16:37:42 -07:00
..
perf metag: Replace __get_cpu_var uses for address calculation 2014-08-26 13:45:47 -04:00
.gitignore metag: Build infrastructure 2013-03-02 20:09:54 +00:00
Makefile metag: Add JTAG Debug Adapter (DA) support 2013-03-02 20:09:56 +00:00
asm-offsets.c metag: Build infrastructure 2013-03-02 20:09:54 +00:00
cachepart.c metag: cachepart: Fix failure check 2014-07-18 10:36:59 +01:00
clock.c metag: log core and timer frequencies from arch code 2013-06-13 12:55:27 +01:00
core_reg.c metag: SMP support 2013-03-02 20:09:51 +00:00
da.c metag: export _metag_da_present and cpu_2_hwthread_id 2013-03-27 14:37:52 +00:00
devtree.c metag: use common of_flat_dt_match_machine 2013-10-09 20:03:57 -05:00
dma.c metag: convert to dma_map_ops 2016-01-20 17:09:18 -08:00
ftrace.c metag: ftrace: Fix the comments for ftrace_modify_code 2015-12-23 14:27:25 -05:00
ftrace_stub.S metag: ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:58:09 -04:00
head.S metag: smp: copy cache partition and enable GCOn 2013-03-15 13:21:17 +00:00
irq.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
kick.c metag: kick: add missing irq_enter/exit to kick_handler() 2013-07-02 14:12:08 +01:00
machines.c
metag_ksyms.c metag: move EXPORT_SYMBOL(csum_partial) to metag_ksyms.c 2013-07-04 10:00:02 +01:00
module.c module: use a structure to encapsulate layout. 2015-12-04 22:46:25 +01:00
perf_callchain.c metag: Perf 2013-03-02 20:09:54 +00:00
process.c metag: copy_thread(): rename 'arg' argument to 'kthread_arg' 2015-03-16 15:48:32 +00:00
ptrace.c metag: ptrace: Implement NT_METAG_TLS 2013-03-27 14:37:47 +00:00
setup.c of/fdt: consolidate built-in dtb section variables 2014-04-30 00:59:13 -05:00
signal.c all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
smp.c arch/hotplug: Call into idle with a proper state 2016-03-01 20:36:57 +01:00
stacktrace.c metag: Stack unwinding 2013-03-02 20:09:52 +00:00
sys_metag.c metag: System Calls 2013-03-02 20:09:49 +00:00
tbiunexp.S metag: Traps 2013-03-02 20:09:45 +00:00
tcm.c
time.c metag: init common clk and use "core" clk 2013-06-13 12:54:41 +01:00
topology.c metag: topology: export 'cpu_core_map' 2013-12-19 11:36:13 +00:00
traps.c metag: handle low level kicks directly 2013-11-06 10:40:02 +00:00
user_gateway.S metag: System Calls 2013-03-02 20:09:49 +00:00
vmlinux.lds.S arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections 2016-03-25 16:37:42 -07:00