linux-stable/arch/c6x/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
..
asm-offsets.c sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
c6x_ksyms.c C6X: loadable module support 2011-10-06 19:48:13 -04:00
devicetree.c of: remove early_init_dt_setup_initrd_arch 2013-10-09 11:39:01 -05:00
dma.c c6x: convert to dma_map_ops 2016-01-20 17:09:18 -08:00
entry.S c6x: switch to generic sigaltstack 2013-02-03 18:15:52 -05:00
head.S
irq.c C6X: remove dependence on legacy IRQs 2012-07-18 23:49:40 -04:00
Makefile
module.c C6X: loadable module support 2011-10-06 19:48:13 -04:00
process.c whack-a-mole: no need to set_fs(USER_DS) in {start,flush}_thread() 2015-04-11 22:24:31 -04:00
ptrace.c C6X: ptrace support 2011-10-06 19:48:17 -04:00
setup.c locking/lockdep: Eliminate lockdep_init() 2016-02-09 12:03:25 +01:00
signal.c all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
soc.c arch: Use eth_random_addr 2012-07-16 22:39:25 -07:00
switch_to.S C6X: process management 2011-10-06 19:47:40 -04:00
sys_c6x.c C6X: syscalls 2011-10-06 19:47:58 -04:00
time.c C6x: time: Ensure consistency in __init 2015-03-26 10:31:47 -04:00
traps.c dump_stack: unify debug information printed by show_regs() 2013-04-30 17:04:02 -07:00
vectors.S
vmlinux.lds.S arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections 2016-03-25 16:37:42 -07:00