aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2009-10-26 18:19:49 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-10-26 18:37:10 -0400
commit3f375f12ecb9c691dda70bb64b313e55fe6ee4ee (patch)
tree45b2d21478dedae3597b4bada0f26da83f4b9b48 /arch
parentf72f7876ae0bc0f018fca140e66aa16fedb57d89 (diff)
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>
Diffstat (limited to 'arch')
-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 @@
10#include <linux/irqflags.h> 10#include <linux/irqflags.h>
11#include <linux/module.h> 11#include <linux/module.h>
12 12
13void raw_local_irq_restore(unsigned long flags) 13void notrace raw_local_irq_restore(unsigned long flags)
14{ 14{
15 unsigned long __dummy0, __dummy1; 15 unsigned long __dummy0, __dummy1;
16 16
@@ -40,7 +40,7 @@ void raw_local_irq_restore(unsigned long flags)
40} 40}
41EXPORT_SYMBOL(raw_local_irq_restore); 41EXPORT_SYMBOL(raw_local_irq_restore);
42 42
43unsigned long __raw_local_save_flags(void) 43unsigned long notrace __raw_local_save_flags(void)
44{ 44{
45 unsigned long flags; 45 unsigned long flags;
46 46
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 @@
11#include <linux/module.h> 11#include <linux/module.h>
12#include <cpu/registers.h> 12#include <cpu/registers.h>
13 13
14void raw_local_irq_restore(unsigned long flags) 14void notrace raw_local_irq_restore(unsigned long flags)
15{ 15{
16 unsigned long long __dummy; 16 unsigned long long __dummy;
17 17
@@ -35,7 +35,7 @@ void raw_local_irq_restore(unsigned long flags)
35} 35}
36EXPORT_SYMBOL(raw_local_irq_restore); 36EXPORT_SYMBOL(raw_local_irq_restore);
37 37
38unsigned long __raw_local_save_flags(void) 38unsigned long notrace __raw_local_save_flags(void)
39{ 39{
40 unsigned long flags; 40 unsigned long flags;
41 41