From 9f9371f5622052010cf6cbc4409d15bad979b83d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 11 Feb 2011 09:08:14 +0000 Subject: =?UTF-8?q?2011-02-11=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * cpu.c, rtems/score/cpu.h: Use "__asm__" instead of "asm" for improved c99-compliance. --- cpukit/score/cpu/arm/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/arm/cpu.c') diff --git a/cpukit/score/cpu/arm/cpu.c b/cpukit/score/cpu/arm/cpu.c index 551c80cde3..00ff4aabcd 100644 --- a/cpukit/score/cpu/arm/cpu.c +++ b/cpukit/score/cpu/arm/cpu.c @@ -64,7 +64,7 @@ void _CPU_ISR_Set_level( uint32_t level ) { uint32_t arm_switch_reg; - asm volatile ( + __asm__ volatile ( ARM_SWITCH_TO_ARM "mrs %[arm_switch_reg], cpsr\n" "bic %[arm_switch_reg], #" _CPU_ISR_LEVEL_STRINGOF( CPU_MODES_INTERRUPT_MASK ) "\n" @@ -81,7 +81,7 @@ uint32_t _CPU_ISR_Get_level( void ) ARM_SWITCH_REGISTERS; uint32_t level; - asm volatile ( + __asm__ volatile ( ARM_SWITCH_TO_ARM "mrs %[level], cpsr\n" "and %[level], #" _CPU_ISR_LEVEL_STRINGOF( CPU_MODES_INTERRUPT_MASK ) "\n" -- cgit v1.2.3