summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/system.h
diff options
context:
space:
mode:
authorPhilippe Gerum <rpm@xenomai.org>2009-06-16 05:25:37 +0200
committerMike Frysinger <vapier@gentoo.org>2009-06-22 21:15:53 -0400
commit06ecc190f3928850cb77c498f745fc8e9a7e2fd7 (patch)
tree41d705a007dcc0472bf1555e5163f50d52da9f80 /arch/blackfin/include/asm/system.h
parent3d15f302d089d0583463745cbece077c1e8294b1 (diff)
Blackfin: convert interrupt pipeline to irqflags
Signed-off-by: Philippe Gerum <rpm@xenomai.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/system.h')
-rw-r--r--arch/blackfin/include/asm/system.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/system.h b/arch/blackfin/include/asm/system.h
index 294dbda2416..85e8f16cf8c 100644
--- a/arch/blackfin/include/asm/system.h
+++ b/arch/blackfin/include/asm/system.h
@@ -135,11 +135,13 @@ struct __xchg_dummy {
};
#define __xg(x) ((volatile struct __xchg_dummy *)(x))
+#include <mach/blackfin.h>
+
static inline unsigned long __xchg(unsigned long x, volatile void *ptr,
int size)
{
unsigned long tmp = 0;
- unsigned long flags = 0;
+ unsigned long flags;
local_irq_save_hw(flags);