Ignore:
Timestamp:
2007-01-22T13:10:08Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f3fc9b
Parents:
62c63fc
Message:

asm volatile → asm volatile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/atomic.h

    r62c63fc re7b7be3f  
    5858                a = *((uint64_t *) x);
    5959                b = a + i;
    60                 __asm__ volatile ("casx %0, %2, %1\n" : "+m" (*((uint64_t *)x)), "+r" (b) : "r" (a));
     60                asm volatile ("casx %0, %2, %1\n" : "+m" (*((uint64_t *)x)), "+r" (b) : "r" (a));
    6161        } while (a != b);
    6262
     
    9999        volatile uintptr_t x = (uint64_t) &val->count;
    100100
    101         __asm__ volatile ("casx %0, %2, %1\n" : "+m" (*((uint64_t *) x)), "+r" (v) : "r" (0));
     101        asm volatile ("casx %0, %2, %1\n" : "+m" (*((uint64_t *) x)), "+r" (v) : "r" (0));
    102102
    103103        return v;
     
    111111        volatile uintptr_t x = (uint64_t) &val->count;
    112112
    113         __asm__ volatile (
     113        asm volatile (
    114114        "0:\n"
    115115                "casx %0, %3, %1\n"
Note: See TracChangeset for help on using the changeset viewer.