Commit 3f375f12 authored by Matt Fleming's avatar Matt Fleming Committed by Paul Mundt

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: default avatarMatt Fleming <matt@console-pimps.org>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent f72f7876
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <linux/irqflags.h> #include <linux/irqflags.h>
#include <linux/module.h> #include <linux/module.h>
void raw_local_irq_restore(unsigned long flags) void notrace raw_local_irq_restore(unsigned long flags)
{ {
unsigned long __dummy0, __dummy1; unsigned long __dummy0, __dummy1;
...@@ -40,7 +40,7 @@ void raw_local_irq_restore(unsigned long flags) ...@@ -40,7 +40,7 @@ void raw_local_irq_restore(unsigned long flags)
} }
EXPORT_SYMBOL(raw_local_irq_restore); EXPORT_SYMBOL(raw_local_irq_restore);
unsigned long __raw_local_save_flags(void) unsigned long notrace __raw_local_save_flags(void)
{ {
unsigned long flags; unsigned long flags;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <cpu/registers.h> #include <cpu/registers.h>
void raw_local_irq_restore(unsigned long flags) void notrace raw_local_irq_restore(unsigned long flags)
{ {
unsigned long long __dummy; unsigned long long __dummy;
...@@ -35,7 +35,7 @@ void raw_local_irq_restore(unsigned long flags) ...@@ -35,7 +35,7 @@ void raw_local_irq_restore(unsigned long flags)
} }
EXPORT_SYMBOL(raw_local_irq_restore); EXPORT_SYMBOL(raw_local_irq_restore);
unsigned long __raw_local_save_flags(void) unsigned long notrace __raw_local_save_flags(void)
{ {
unsigned long flags; unsigned long flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment