summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 12:46:34 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 12:46:34 +0000
commita42d8b00fe65a26d923c3bf1429252ee8f1405a0 (patch)
treed0b2542003ee9eef34c57ba62183fc2053c67699 /c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
parent2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-a42d8b00fe65a26d923c3bf1429252ee8f1405a0.tar.bz2
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, irq/irq.c: Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c')
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c b/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
index b2cb7d72f0..f3a32ef668 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.c
@@ -222,7 +222,7 @@ int C_dispatch_irq_handler (BSP_Exception_frame *frame, unsigned int excNum)
* make sure, that the masking operations in
* ICTL and MSR are executed in order
*/
- asm volatile("sync":::"memory");
+ __asm__ volatile("sync":::"memory");
_CPU_MSR_GET(msr);
new_msr = msr | MSR_EE;
@@ -236,7 +236,7 @@ int C_dispatch_irq_handler (BSP_Exception_frame *frame, unsigned int excNum)
* make sure, that the masking operations in
* ICTL and MSR are executed in order
*/
- asm volatile("sync":::"memory");
+ __asm__ volatile("sync":::"memory");
if (cpmIntr) {
irq -= BSP_CPM_IRQ_LOWEST_OFFSET;