Changed __asm__ to asm

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@180 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-04-22 22:48:07 +00:00
parent b701c89624
commit c7e811bffe

View file

@ -44,9 +44,9 @@ static thread_t threads = {1, 0};
* Store non-volatile context.
*---------------------------------------------------------------------------
*/
static __inline__ void stctx(void* addr)
static inline void stctx(void* addr)
{
__asm__ __volatile__ ("mov.l r8, @(0, %0)\n\t"
asm volatile ("mov.l r8, @(0, %0)\n\t"
"mov.l r9, @(4, %0)\n\t"
"mov.l r10, @(8, %0)\n\t"
"mov.l r11, @(12, %0)\n\t"
@ -66,9 +66,9 @@ static __inline__ void stctx(void* addr)
* Load non-volatile context.
*---------------------------------------------------------------------------
*/
static __inline__ void ldctx(void* addr)
static inline void ldctx(void* addr)
{
__asm__ __volatile__ ("mov.l @(0, %0), r8\n\t"
asm volatile ("mov.l @(0, %0), r8\n\t"
"mov.l @(4, %0), r9\n\t"
"mov.l @(8, %0), r10\n\t"
"mov.l @(12, %0), r11\n\t"