Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257113
b: refs/heads/master
c: e08fbb7
h: refs/heads/master
i:
  257111: 2626085
v: v3
  • Loading branch information
Steven Rostedt authored and Ingo Molnar committed Jul 7, 2011
1 parent 630a310 commit ec80e33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 931da6137e8e8c622f59251e8b645467aea293f1
refs/heads/master: e08fbb78f03fe2c4f88824faf6f51ce6af185e11
11 changes: 6 additions & 5 deletions trunk/arch/x86/include/asm/irqflags.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,23 +60,24 @@ static inline void native_halt(void)
#include <asm/paravirt.h>
#else
#ifndef __ASSEMBLY__
#include <linux/types.h>

static inline unsigned long arch_local_save_flags(void)
static inline notrace unsigned long arch_local_save_flags(void)
{
return native_save_fl();
}

static inline void arch_local_irq_restore(unsigned long flags)
static inline notrace void arch_local_irq_restore(unsigned long flags)
{
native_restore_fl(flags);
}

static inline void arch_local_irq_disable(void)
static inline notrace void arch_local_irq_disable(void)
{
native_irq_disable();
}

static inline void arch_local_irq_enable(void)
static inline notrace void arch_local_irq_enable(void)
{
native_irq_enable();
}
Expand All @@ -102,7 +103,7 @@ static inline void halt(void)
/*
* For spinlocks, etc:
*/
static inline unsigned long arch_local_irq_save(void)
static inline notrace unsigned long arch_local_irq_save(void)
{
unsigned long flags = arch_local_save_flags();
arch_local_irq_disable();
Expand Down

0 comments on commit ec80e33

Please sign in to comment.