#include <asm/irqflags.h>
#include <asm/hazards.h>
#include <linux/compiler.h>
#include <linux/preempt.h>
#include <linux/export.h>
Go to the source code of this file.
|
| __asm__ (" .macro arch_local_irq_disable\n"" .set push \n"" .set noat \n"" mfc0 $1,$12 \n"" ori $1,0x1f \n"" xori $1,0x1f \n"" .set noreorder \n"" mtc0 $1,$12 \n"" irq_disable_hazard \n"" .set pop \n"" .endm \n") |
|
notrace void | arch_local_irq_disable (void) |
|
| EXPORT_SYMBOL (arch_local_irq_disable) |
|
| __asm__ (" .macro arch_local_irq_save result \n"" .set push \n"" .set reorder \n"" .set noat \n"" mfc0 \\result, $12 \n"" ori $1, \\result, 0x1f \n"" xori $1, 0x1f \n"" .set noreorder \n"" mtc0 $1, $12 \n"" irq_disable_hazard \n"" .set pop \n"" .endm \n") |
|
notrace unsigned long | arch_local_irq_save (void) |
|
| EXPORT_SYMBOL (arch_local_irq_save) |
|
| __asm__ (" .macro arch_local_irq_restore flags \n"" .set push \n"" .set noreorder \n"" .set noat \n"" mfc0 $1, $12 \n"" andi \\flags, 1 \n"" ori $1, 0x1f \n"" xori $1, 0x1f \n"" or \\flags, $1 \n"" mtc0 \\flags, $12 \n"" irq_disable_hazard \n"" .set pop \n"" .endm \n") |
|
notrace void | arch_local_irq_restore (unsigned long flags) |
|
| EXPORT_SYMBOL (arch_local_irq_restore) |
|
notrace void | __arch_local_irq_restore (unsigned long flags) |
|
| EXPORT_SYMBOL (__arch_local_irq_restore) |
|
__asm__ |
( |
" .macro arch_local_irq_disable\n"" .set push \n"" .set noat \n"" mfc0 |
$1, |
|
|
|
$12\n""ori, |
|
|
0x1f\n""xori |
$1, |
|
|
0x1f\n"".set noreorder\n""mtc0 |
$1, |
|
|
|
$12\n""irq_disable_hazard\n"".set pop\n"".endm\n" |
|
) |
| |
__asm__ |
( |
" .macro arch_local_irq_restore flags \n"" .set push \n"" .set noreorder \n"" .set noat \n"" mfc0 |
$1, |
|
|
|
$12\n""andi\\, |
|
|
1\n""ori |
$1, |
|
|
0x1f\n""xori |
$1, |
|
|
0x1f\n""or\\ |
flags, |
|
|
|
$1\n""mtc0\\, |
|
|
|
$12\n""irq_disable_hazard\n"".set pop\n"".endm\n" |
|
) |
| |