linux-sg2042/arch/nios2/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
..
Makefile nios2: add kgdb support 2015-02-16 19:26:43 +08:00
asm-offsets.c nios2: asm-offsets: Remove unused definition TI_TASK 2014-12-08 12:56:12 +08:00
cpuinfo.c nios2: cpuinfo: remove use of seq_printf return value 2015-04-15 16:35:24 -07:00
early_printk.c nios2: add early printk support 2015-02-10 23:21:08 +08:00
entry.S nios2: rework trap handler 2015-04-20 11:11:14 +08:00
head.S nios2: Kernel booting and initialization 2014-12-08 12:55:49 +08:00
insnemu.S nios2: Traps exception handling 2014-12-08 12:55:50 +08:00
irq.c nios2: Interrupt handling 2014-12-08 12:55:55 +08:00
kgdb.c nios2: add kgdb support 2015-02-16 19:26:43 +08:00
misaligned.c nios2: remove unused statistic counters 2015-09-08 01:32:34 +08:00
module.c module: remove mod arg from module_free, rename module_memfree(). 2015-01-20 11:38:33 +10:30
nios2_ksyms.c nios2: Build infrastructure 2014-12-08 12:56:06 +08: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
prom.c nios2: add early printk support 2015-02-10 23:21:08 +08:00
ptrace.c nios2: ptrace support 2014-12-08 12:56:04 +08:00
setup.c nios2: Fix unused variable warning 2015-11-09 10:33:29 +08:00
signal.c nios2: signal: Move restart_block to struct task_struct 2015-04-08 13:45:16 +08:00
sys_nios2.c nios2: System calls handling 2014-12-08 12:55:58 +08:00
syscall_table.c nios2: System calls handling 2014-12-08 12:55:58 +08:00
time.c clocksource: cosmetic: Drop OF 'dependency' from symbols 2015-10-01 02:18:39 +02:00
traps.c nios2: rework trap handler 2015-04-20 11:11:14 +08:00
vmlinux.lds.S arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections 2016-03-25 16:37:42 -07:00