From 322ba9d3c409456cf7a150df39f6ebeb2ab23fb4 Mon Sep 17 00:00:00 2001 From: skrll Date: Fri, 1 Jun 2007 11:31:01 +0000 Subject: [PATCH] Another missed changed for acorn26 idlelwp. Provide IRQenable/IRQdisable macros. --- sys/arch/arm/include/cpu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/arch/arm/include/cpu.h b/sys/arch/arm/include/cpu.h index b3ae87e0d240..e025f7528086 100644 --- a/sys/arch/arm/include/cpu.h +++ b/sys/arch/arm/include/cpu.h @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.43 2007/05/17 14:51:16 yamt Exp $ */ +/* $NetBSD: cpu.h,v 1.44 2007/06/01 11:31:01 skrll Exp $ */ /* * Copyright (c) 1994-1996 Mark Brinicombe. @@ -116,6 +116,9 @@ extern int cpu_do_powersave; #define IRQdisable __set_cpsr_c(I32_bit, I32_bit); #define IRQenable __set_cpsr_c(I32_bit, 0); #endif /* _LOCORE */ +#else +#define IRQdisable set_r15(R15_IRQ_DISABLE, R15_IRQ_DISABLE); +#define IRQenable set_r15(R15_IRQ_DISABLE, 0); #endif #ifndef _LOCORE