Changeset e2cc9a0 in mainline for kernel/arch/sparc64/include/asm.h
- Timestamp:
- 2006-10-06T22:37:15Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 33b1903
- Parents:
- 233af8c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/asm.h
r233af8c5 re2cc9a0 325 325 uint64_t v; 326 326 327 __asm__ volatile ("ldxa [%1] %2, %0\n" : "=r" (v) : "r" (va), "i" ( asi));327 __asm__ volatile ("ldxa [%1] %2, %0\n" : "=r" (v) : "r" (va), "i" ((unsigned) asi)); 328 328 329 329 return v; … … 338 338 static inline void asi_u64_write(asi_t asi, uintptr_t va, uint64_t v) 339 339 { 340 __asm__ volatile ("stxa %0, [%1] %2\n" : : "r" (v), "r" (va), "i" ( asi) : "memory");340 __asm__ volatile ("stxa %0, [%1] %2\n" : : "r" (v), "r" (va), "i" ((unsigned) asi) : "memory"); 341 341 } 342 342
Note:
See TracChangeset
for help on using the changeset viewer.