Skip to content

Commit

Permalink
sh: Annotate irq functions with "notrace"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matt Fleming authored and Paul Mundt committed Oct 26, 2009
1 parent f72f787 commit 3f375f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/sh/kernel/irq_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions arch/sh/kernel/irq_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;

Expand Down

0 comments on commit 3f375f1

Please sign in to comment.