summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2009-10-27 01:19:49 +0300
committerPaul Mundt <lethal@linux-sh.org>2009-10-27 01:37:10 +0300
commit3f375f12ecb9c691dda70bb64b313e55fe6ee4ee (patch)
tree45b2d21478dedae3597b4bada0f26da83f4b9b48
parentf72f7876ae0bc0f018fca140e66aa16fedb57d89 (diff)
downloadlinux-3f375f12ecb9c691dda70bb64b313e55fe6ee4ee.tar.xz
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>
-rw-r--r--arch/sh/kernel/irq_32.c4
-rw-r--r--arch/sh/kernel/irq_64.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/kernel/irq_32.c b/arch/sh/kernel/irq_32.c
index b98a694ead31..e33ab15831f9 100644
--- a/arch/sh/kernel/irq_32.c
+++ b/arch/sh/kernel/irq_32.c
@@ -10,7 +10,7 @@
#include <linux/irqflags.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;
@@ -40,7 +40,7 @@ void raw_local_irq_restore(unsigned long flags)
}
EXPORT_SYMBOL(raw_local_irq_restore);
-unsigned long __raw_local_save_flags(void)
+unsigned long notrace __raw_local_save_flags(void)
{
unsigned long flags;
diff --git a/arch/sh/kernel/irq_64.c b/arch/sh/kernel/irq_64.c
index 09d92718c996..32365ba0e039 100644
--- a/arch/sh/kernel/irq_64.c
+++ b/arch/sh/kernel/irq_64.c
@@ -11,7 +11,7 @@
#include <linux/module.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;
@@ -35,7 +35,7 @@ void raw_local_irq_restore(unsigned long flags)
}
EXPORT_SYMBOL(raw_local_irq_restore);
-unsigned long __raw_local_save_flags(void)
+unsigned long notrace __raw_local_save_flags(void)
{
unsigned long flags;