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
Makefile
asm-offsets.c
cachepart.c
clock.c
core_reg.c
da.c
devtree.c
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
head.S
irq.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
kick.c
machines.c
metag_ksyms.c
module.c module: use a structure to encapsulate layout. 2015-12-04 22:46:25 +01:00
perf_callchain.c
process.c metag: copy_thread(): rename 'arg' argument to 'kthread_arg' 2015-03-16 15:48:32 +00:00
ptrace.c
setup.c
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
sys_metag.c
tbiunexp.S
tcm.c
time.c
topology.c
traps.c
user_gateway.S
vmlinux.lds.S arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections 2016-03-25 16:37:42 -07:00