linux/arch/microblaze/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
..
cpu microblaze: Add missing release version code 2015-06-08 09:57:07 +02:00
.gitignore
Makefile microblaze: Remove unused prom_parse.c 2015-01-05 12:36:41 +01:00
asm-offsets.c
dma.c Revert "scatterlist: use sg_phys()" 2015-12-15 12:54:06 -08:00
early_printk.c
entry-nommu.S
entry.S microblaze: Fix syscall error recovery for invalid syscall IDs 2015-03-04 15:12:27 +01:00
exceptions.c
ftrace.c
head.S
heartbeat.c
hw_exception_handler.S
intc.c microblaze/irq: prepare for drivers/irqchip/irqchip.h removal 2015-07-31 20:51:21 +02:00
irq.c
kgdb.c microblaze: Label local function static 2015-06-08 09:57:08 +02:00
mcount.S
microblaze_ksyms.c
misc.S
module.c
platform.c
process.c
prom.c
ptrace.c microblaze: Use unsigned return type in do_syscall_trace_enter 2015-01-05 12:36:43 +01:00
reset.c microblaze: Remove unused prom header from reset.c 2015-01-05 12:36:42 +01:00
setup.c locking/lockdep: Eliminate lockdep_init() 2016-02-09 12:03:25 +01:00
signal.c Merge branch 'exec_domain_rip_v2' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/misc 2015-04-15 13:53:55 -07:00
stacktrace.c
sys_microblaze.c
syscall_table.S microblaze: Wire-up execveat syscall 2015-01-05 12:36:40 +01:00
timer.c microblaze/timer: Migrate to new 'set-state' interface 2015-08-10 11:41:00 +02:00
traps.c
unwind.c microblaze: Mark get_frame_size as static 2015-01-05 12:36:44 +01:00
vmlinux.lds.S arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections 2016-03-25 16:37:42 -07:00