Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: Annotate irq functions with "notrace"

Now that SH's irqflags functions are out of line it becomes necessary to
mark them as "notrace" so that we don't try to trace them.

[ Do the same for irq_64.c -- PFM. ]

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

authored by

Matt Fleming and committed by
Paul Mundt
3f375f12 f72f7876

+4 -4
+2 -2
arch/sh/kernel/irq_32.c
··· 10 10 #include <linux/irqflags.h> 11 11 #include <linux/module.h> 12 12 13 - void raw_local_irq_restore(unsigned long flags) 13 + void notrace raw_local_irq_restore(unsigned long flags) 14 14 { 15 15 unsigned long __dummy0, __dummy1; 16 16 ··· 40 40 } 41 41 EXPORT_SYMBOL(raw_local_irq_restore); 42 42 43 - unsigned long __raw_local_save_flags(void) 43 + unsigned long notrace __raw_local_save_flags(void) 44 44 { 45 45 unsigned long flags; 46 46
+2 -2
arch/sh/kernel/irq_64.c
··· 11 11 #include <linux/module.h> 12 12 #include <cpu/registers.h> 13 13 14 - void raw_local_irq_restore(unsigned long flags) 14 + void notrace raw_local_irq_restore(unsigned long flags) 15 15 { 16 16 unsigned long long __dummy; 17 17 ··· 35 35 } 36 36 EXPORT_SYMBOL(raw_local_irq_restore); 37 37 38 - unsigned long __raw_local_save_flags(void) 38 + unsigned long notrace __raw_local_save_flags(void) 39 39 { 40 40 unsigned long flags; 41 41