2 posix containers tested with changes. Inline assemblers fixed.

Inline assembler for irq disabling had no output variables defined.
This commit is contained in:
Bahadir Balban
2009-12-12 01:54:39 +02:00
parent 32c0bb3a76
commit 41b7176a58
2 changed files with 8 additions and 6 deletions

View File

@@ -49,7 +49,8 @@ static inline void irq_local_disable_save(unsigned long *state)
"mrs %0, cpsr_fc\n"
"orr %1, %0, #0x80\n"
"msr cpsr_fc, %1\n"
:: "r" (*state), "r" (temp)
: "=r" (*state)
: "r" (*state),"r" (temp)
);
}
/* Simply change it back to original state supplied in @flags. This might enable