diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 12:37:58 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-11 12:37:58 +0000 |
commit | 1bdfd26222b98f2043a8a05d2e1ab882a4c435af (patch) | |
tree | 8a1d49060b68a4a307bba66b8c2837d05d225b45 /c/src/lib/libbsp/m68k/mvme167/startup/page_table.c | |
parent | 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-1bdfd26222b98f2043a8a05d2e1ab882a4c435af.tar.bz2 |
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c, fatal/bspfatal.c, startup/bspclean.c,
startup/page_table.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to 'c/src/lib/libbsp/m68k/mvme167/startup/page_table.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/startup/page_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c b/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c index 06ae67815c..01d9731b9c 100644 --- a/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c +++ b/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c @@ -120,7 +120,7 @@ void page_table_init( } /* do it ! */ - asm volatile("movec %0, %%tc\n\t" /* turn off paged address translation */ + __asm__ volatile("movec %0, %%tc\n\t" /* turn off paged address translation */ "movec %0, %%cacr\n\t" /* disable both caches */ "cinva %%bc\n\t" /* clear both caches */ "movec %1,%%dtt0\n\t" /* block address translation on */ @@ -145,7 +145,7 @@ void page_table_init( */ void page_table_teardown( void ) { - asm volatile ("movec %0,%%tc\n\t" + __asm__ volatile ("movec %0,%%tc\n\t" "movec %0,%%cacr\n\t" "cpusha %%bc\n\t" "movec %0,%%dtt0\n\t" |